summaryrefslogtreecommitdiff
path: root/bigresult.py
blob: bac8d649b8bf11583c02f8467789bc3bcac3f0cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import discord
from discord.ext import commands

class BotClient(commands.Bot):

    async def on_ready(self):
        print("The big result bot is ready!")
        for guild in self.guilds:
            break;
        await self.send_msg("Hurlo")

    async def on_message(self, message):
        roblox = discord.utils.get(self.emojis, name="roblos")
        await self.process_commands(message)
        if message.author == self.user:
            return
        if ("1984" in message.content):
            await message.reply("kys")
        if ("roblox" in message.content):
            await message.add_reaction(roblox)
            await message.reply("life is roblox\nhttps://cdn.discordapp.com/attachments/890681829915508806/1066566357694562374/DJ_Khaled.mp4?ex=6728ee13&is=67279c93&hm=7a2c5e3c85d42ee07c420424fc26970f502e941f9d1c45324b42270184a17b65&")

    async def send_msg(self, msg):
        channel = self.get_channel(427176475406630914)
        await channel.send(msg)