diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index c1971161..db696f3e 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,6 @@
-
@@ -30,13 +29,13 @@
-
+
-
-
+
+
-
+
@@ -54,7 +53,7 @@
-
+
@@ -111,8 +110,8 @@
-
+
@@ -238,10 +237,10 @@
-
+
-
+
@@ -382,13 +381,11 @@
-
+
-
-
-
-
-
+
+
+
@@ -402,11 +399,13 @@
-
+
-
-
-
+
+
+
+
+
diff --git a/bot.py b/bot.py
index 172314fe..2e23243d 100644
--- a/bot.py
+++ b/bot.py
@@ -1,4 +1,3 @@
-import json
import re
import sys
@@ -19,10 +18,6 @@ rpcs3Bot = Bot(command_prefix="!")
pattern = '[A-z]{4}\\d{5}'
-@rpcs3Bot.event
-async def on_ready():
- await rpcs3Bot.send_message(discord.Object(id=channel_id), boot_up_message)
-
@rpcs3Bot.event
async def on_message(message: Message):
"""
@@ -178,5 +173,15 @@ async def get_code(code: str) -> object:
return "```" + result.results[0].to_string() + "```"
return None
+
+async def greet():
+ """
+ Greets on boot!
+ """
+ await rpcs3Bot.wait_until_ready()
+ await rpcs3Bot.send_message(discord.Object(id=channel_id), boot_up_message)
+
+
print(sys.argv[1])
rpcs3Bot.run(sys.argv[1])
+greet()