summaryrefslogtreecommitdiff
path: root/bigresult.py
blob: 80fb67e78dcddbb3ffa2add05f68efb5f04fcb02 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
import discord
import dotenv
from discord.ext import commands
import random
import threading

class BigResultPlus(commands.Bot):

    def __init__(self):
        self.cmds = {}

    def initialize_commands(self):
        return

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


    async def on_message(self, message):
        self.state = 0
        roblox = discord.utils.get(self.emojis, name="roblos")
        await self.process_commands(message)
        fuckyou = message.content.lower()

        """
        I want these statements moved into a function
        that is run on another thread so we don't get
        super bad performance hits 
        """
        if message.author == self.user:
            return

        if (random.randint(1, 2000) == 1984):
            await message.reply("thats crazy")
            return

        if (random.randint(1, 20000) == 67):
            await message.reply("whatcha saayyy")
            return

        elif ("1984" in fuckyou and "!1984" != fuckyou):
            await message.reply("kys ")
            return

        elif ("roblox" in fuckyou or "roblo" in fuckyou or "road blocks" in fuckyou):
            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&")
            return

        elif ("matrix" in fuckyou):
            await message.reply("be a good kitten")
            return

        elif ("gift card" in fuckyou):
            await message.reply("DO NOT REDEEM! DO NOT REDEEM THE CARD!")
            self.state = 1
            return

        elif ("andrew tate" in fuckyou):
            await message.reply("andro tate")
            return

        elif ("gamba" in fuckyou or "gamble" in fuckyou or "bet" in fuckyou):
            await message.reply("Google Expected Value")
            return

        elif ("sex" in fuckyou):
            if self.voice_clients is None:
                return

        elif ("im gonna redeem" in fuckyou and self.state == 1):
            await message.reply("NOOOOOOOOOOOOO NO NO NOOOOOOOOOO!")
            self.state = 0
            return

        elif ("president" in fuckyou or "trump" in fuckyou or "kamala" in fuckyou):
            await message.reply("Should have voted for Taylor Swift and Al Gore, Swift-Gore")
            return

        elif ("?" in fuckyou and random.randint(1, 2000) == 1984):
            await message.reply("did you attend?")
            await message.reply("were you there?")
            await message.reply("were you listening?")
            await message.reply("why do you ask?")
            return

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