We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64312c6 commit 496b802Copy full SHA for 496b802
.gitignore
@@ -0,0 +1 @@
1
+*.db
keep_alive.py
@@ -0,0 +1,21 @@
+#This file is for hosting the bot on Uptime Robot via replit.com
2
+#You can search on Youtube about how to do this, it's pretty easy
3
+
4
+from flask import Flask
5
+from threading import Thread
6
7
+app = Flask('')
8
9
10
+@app.route('/')
11
+def home():
12
+ return "Hello. I am alive!"
13
14
15
+def run():
16
+ app.run(host='0.0.0.0', port=8080)
17
18
19
+def keep_alive():
20
+ t = Thread(target=run)
21
+ t.start()
main.py
@@ -7,7 +7,7 @@
client = commands.Bot(
- command_prefix = "",
+ command_prefix = "!",
case_insensitive = True,
intents = discord.Intents.all()
)
0 commit comments