about summary refs log tree commit diff stats
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/main.py b/main.py
new file mode 100644
index 0000000..5167f6e
--- /dev/null
+++ b/main.py
@@ -0,0 +1,11 @@
+from discord import Client
+from discord.intents import Intents
+
+bot = Client(intents=[Intents.GUILD_MESSAGES])
+
+
+@bot.event
+async def on_ready():
+    print(f"We have logged in as {bot.user.username}")
+
+bot.run("NzM1MTA3NDc0OTY0ODczMzM3.G6_nDX.Ctozd9eWn3xY_lGFT46uCJjrHQ9fQYRHAAD9Ic")
\ No newline at end of file