Discord bot

From Earlham CS Department
Revision as of 08:55, 26 March 2021 by Craigje (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To help manage classes, Earlham CS runs a Discord bot originally developed by the University of New Hampshire.

Code is available to faculty in our GitLab instance.

How the bot runs

The bot is hosted on the CS web server (same place as this wiki).

Documents are available on the UNH project wiki, though we may begin building a local knowledge base separate from it.

The bot starts through systemd at boot and runs in the background. This means that, for example, you can get the status by running service discord_ops status .

Adding a class

At the start of a new term, people with permissions to operate the bot and access its code may add a class. A contrib script has been added to make this possible.

bash /var/www/discord-ops/contrib/add-class csABC # where csABC is your class

The script prompts for a confirmation.