willowec / UMcovidbot

This is a discord bot which pulls the latest case count information from the UMaine Orono website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UMcovidbot

A bot written by William Cunningham. Not particularly user friendly, because I don't expect anybody to use it.

Note: this bot depends on the discord.py, requests, and asyncio libraries. Make sure you have them installed!

REQUIRES A CONFIG FILE! to use, create a text file named 'config.txt' in the same directory as main.py. The format of the file should be as follows:

token:<discord bot token> channels:<channel id number>,<channel id number>,<channel id number>,<channel id number>

any lines not starting with 'token:' or 'channels:' will be ignored

to get an update, simply type '!update' in a whitelisted channel in a server your instance of the bot is running in.

About

This is a discord bot which pulls the latest case count information from the UMaine Orono website.

License:MIT License


Languages

Language:Python 97.3%Language:C 2.6%Language:PowerShell 0.2%Language:Batchfile 0.0%Language:Shell 0.0%