Skip to content

peter-obrien/roc-raids

Repository files navigation

Setup

This bot uses the discord.py library as such requires a version of Python that is compatible with the library.

pip install -U discord.py

Other libraries used are:

pip install -U pytz
pip install -U Django==2.2
pip install -U psycopg2

The bot also requires a PostgreSQL database.

After Postgres is setup, please create a database and optional user to login to the database.

After the dependencies are loaded. The application needs to be configured and the database models applied.

Configuration

Please run python setup.py to create a properties.ini file that needs to be populated in order for the bot to run.

Default

  • bot_token This is the App Bot User Token for the bot. Can be found here.
  • server_id This is the ID for the discord server that the bot will run on.
  • rsvp_channel_id This is the ID of the channel where the RSVP messages will go.
  • raid_src_channel_id This is the ID of the channel where PokeAlarm raids are processed.

Databases

  • name Name of the database to use.
  • user Name of the user to connect to the database.
  • password Password for the user to connect to the database.

Security

  • secret_key This is a Django secret key needed to start the application.

Database

Anytime code is updated, run python manage.py migrate to apply any possible changes to the database models.

Steps to Run

python bot.py

Donate

If you'd like to support the work I've done feel free to donate

About

Discord bot for Pokemon GO raid group organization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages