We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
0 parents commit 67e70aeCopy full SHA for 67e70ae
.gitignore
@@ -0,0 +1,2 @@
1
+
2
+.env
protobot.py
@@ -0,0 +1,26 @@
+"""
+Author: Konnor Klercke
3
+File: protobot.py
4
+Purpose: Discord bot for my personal server
5
6
7
8
+#################################
9
+ #
10
+import os #
11
+import discord #
12
+from dotenv import load_dotenv #
13
14
15
16
17
+load_dotenv()
18
+token = os.getenv('DISCORD_TOKEN')
19
20
+client = discord.Client()
21
22
+@client.event
23
+async def on_ready():
24
+ print(f'{client.user} has connected to Discord!')
25
26
+client.run(token)
0 commit comments