Skip to content

A bot designed to track and promote user engagement on the UBC CSSS Official Discord server.

License

Notifications You must be signed in to change notification settings

ubccsss/CSSS-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSSS-Bot

A bot designed to track and promote user engagement on the UBC CSSS Official Discord server.

Built using discord.py, with database connections to MongoDB. Deprecated SQLite DB connections can also be found in sqlite.py. You can see it in action in our discord :)

Usage

To run the bot, create a .env @ the root of this project with keys for DISCORD_TOKEN, as well as MongoDB keys regarding DB_NAME, DB_CLUSTER, and DB_COLLECTION. Then simply run in a pipenv.

MongoDB Setup

This program is meant to interact with a database with two collections, 'members' and 'roles'. New react roles can be added by creating a document with the message id under 'id', as well as arrays for 'emojis' and 'roles' (must share the same index).

License

This project is licensed under the MIT License.

About

A bot designed to track and promote user engagement on the UBC CSSS Official Discord server.

Resources

License

Stars

Watchers

Forks