@@ -4,11 +4,11 @@ A Discord robot for the Angels Discord written in Python.
## Requirements
1. Clone the git repository
1. Change into the repo directory
-1. `virtualenv --python=python3 .`
+1. `virtualenv --python=python3 .` || `python3 -m venv .`
1. `source bin/activate`
1. `pip3 install -r requirements.txt`
## Run
-1. `python3 rotbot.py`
+1. `python3 rotbot.py`
@@ -74,4 +74,7 @@ for ext in default_extensions:
try:
bot.run(settings.DISCORD_TOKEN)
except AttributeError:
- missing_config()
+ missing_config()
+except discord.errors.LoginFailure:
+ print("Invalid discord token.")
+ quit()
@@ -1 +1,2 @@
-discord.py==1.7.3
+discord.py==1.7.3
+asyncpg==0.26.0