Skip to content
/ Canary Public
forked from idoneam/Canary

Canary is a Python3 bot designed for the McGill University Community Discord Server. The bot provides helper functions to users, as well as fun functions, a quote database and custom greeting messages.

Notifications You must be signed in to change notification settings

lazho/Canary

 
 

Repository files navigation

Canary

Discord

Canary is a Python3 bot designed for the McGill University Community Discord Server. The bot provides helper functions to users, as well as fun functions, a quote database and custom greeting messages.

Build Statuses

Master Build Status
Dev Build Status

Installation

If you wish to use the update command to update to the latest version of the bot, configure your github account in your environment of choice and clone into the repository with:

$ git clone https://github.com/idoneam/Canary

Dependencies are managed with pipenv which can be installed via pip with:

$ python3 -m pip install pipenv

Dependencies may be installed using pipenv with the following command:

$ pipenv install

Development dependencies (YAPF) can be installed alongside all other dependencies with:

$ pipenv install --dev

You may enter the virtual environment generated by the pipenv installation with:

$ pipenv shell

Or simply run the bot with:

$ pipenv run python3 Main.py

In order to run bots on Discord, you need to create a bot account.

Set your Discord bot token in the config.ini file within the config directory. Also change your Database file path as well as Greeting and Farewell messages, if desired.

Running the bot

Run python3 Main.py in your shell. Ensure that your Discord token is set in the config.ini file within the config directory.

Code Linting

We format our code using Google's YAPF. Our builds will reject code that do not conform to the standards defined in .style.yapf . You may format your code using :

$ yapf --recursive --in-place .

and ensure your code conforms to our linting with :

$ yapf --diff --recursive .

Contributions

Contributions are welcome, feel free to fork our repository and Open a Pull Request or Open an Issue.

About

Canary is a Python3 bot designed for the McGill University Community Discord Server. The bot provides helper functions to users, as well as fun functions, a quote database and custom greeting messages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%