summaryrefslogtreecommitdiff
path: root/bigresult.py
diff options
context:
space:
mode:
authorJosh <eeei3.joshua0307lol@gmail.com>2024-11-01 18:13:47 -0400
committerJosh <eeei3.joshua0307lol@gmail.com>2024-11-01 18:13:47 -0400
commit005af272481f43a9c075cc0278b949213fd1ee8e (patch)
tree17d1f17176ea022033df98d3bccf362821e85b81 /bigresult.py
parent27cdae26e243ba74aa47c6ec923d807a0e163d5d (diff)
feat: Created bigresult.py to house important bot logic. Changed bot structure so it is no longer a just wall of decorators, now it is a subclass. Also Created .env for storing important data.
Diffstat (limited to 'bigresult.py')
-rw-r--r--bigresult.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/bigresult.py b/bigresult.py
new file mode 100644
index 0000000..6a11d1b
--- /dev/null
+++ b/bigresult.py
@@ -0,0 +1,16 @@
+import discord
+from discord.ext import commands
+
+class BotClient(discord.ext.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 send_msg(self, msg):
+ channel = self.get_channel(427176475406630914)
+ await channel.send(msg)
+
+
+