Skip to content

makeopensource/annbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

annbot

setup

  1. Create and authenticate Discord bot

  2. Create .env in the main directory

HOST="web"
PORT="8000"
TOKEN="<token>"
CHANNEL_ID="848699200337870878"

The local default is as follows:

HOST="web"
PORT="8000"
TOKEN="<token>"
CHANNEL_ID="848699200337870878"

note that the channel id corresponds to the MakeOpenSource announcements channel_id, and that the token is redacted (for security reasons)

  1. Install modules
python3 -m pip install -r requirements.txt
  1. Run discord bot
python3 annbot.py