Discord bot that gathers external information about PSO2, including emergency quest schedules and RSS links.
Python 3.5 or later is required, along with 3 additional packages:
python -m pip install -U discord.py
python -m pip install -U pytz
python -m pip install -U aiohttp
If your system has multiple python version make sure to call the right python version.
- Sign up for a Discord account
- Navigate to the developer portal
- Click "Create an application"
- Optionally give it a name and picture
- Keep this page open for later config instructions
- Sign up for a Google account
- Open the Google APIs page
- Create a project
- Enable APIs and Services
- Search for and enable Google Calendar and URL shortner
- Go to the credentials page and keep it open for later config instructions
- Get this project using git or download its zip from GitHub and extract it
- Navigate to the project folder and run the bot
python sla_boy.py
- Go to the Discord page from earlier, copy the CLIENT SECRET, and paste into config.ini after
bot_token =
- Go to the Google page from earlier, copy the API key, and paste into config.ini after
google_api_key =
- The bot should run now
python sla_boy.py
- Go back to the Discord page from earlier, click the OAuth2 tab and select:
- bot in Scope
- Send Messages in Permissions
- Read Message History in Permissions
- Copy the generated link and give it to server admins who want to invite the bot
- Have the admin create a channel for the bot and type
;toggle
in it
Run python sla_boy.py
or use the loop scripts loop.bat
for windows or ./loop.sh
on linux. The
default config contains examples of changeable parameters in the bot and restart the bot after
editing it.
Summary of availiable commands for users. For more detailed information and examples, use help
.
help (command)
: Receive a help message about the bot or detailed information about the commandfind (text)
: List the next few events with names partially matching the textnext
: Show the next eventtoggle
: Enable/Disable the bot's automatic message (requires Manage Channels permission)
This project is licensed under the MIT License.