DaRealTurtyWurty / SuperTurtyBot

A multi-purpose discord bot.
GNU Affero General Public License v3.0
6 stars 10 forks source link

Fixed WordleCommand, TurtyBot now types when responding to greetings and changed mongodb args in .env #254

Closed mihael1106 closed 5 months ago

mihael1106 commented 5 months ago

Fixed WordleCommand so now it doesnt crash the bot on startup if TurtyAPI key is not set. The bot now types for 3 seconds when responding to greetings. (eg. hello, @TurtyBot) Changed the way mongodb data is passed from .env file into the code so instead of having

MONGO_PASSWORD=<password>
MONGO_USERNAME=<username>

its now

MONGO_CONNECTION_STRING=mongodb+srv://<username>:<password>@XXXXX.XXXXXX.mongodb.net/?retryWrites=true&w=majority

(I can revert this change if you don't like it)