Chatbot moderator for Werewolf game
Install the latest version of Python and pip, if using Windows, remember to add Python to PATH.
Install the prerequisites using pip install -r requirements.txt
.
-
Enable Developer Mode in Discord from User Setting
-
Create a bot in the Developer Portal
-
Invite your bot to your server. After that, find and copy your bot's token
After cloning this repo, rename server_conf.example.py
to server_conf.py
and fill your info to all the variables in it:
TOKEN
the bot's token you copiedGAME_CHANNEL
take the ID of your game channel by right clicking and copy the channel IDDEBUG_CHANNEL
the ID of a debug channel to send error messagesADMINS
put your own user ID to become an adminLANGUAGE
puten
for English
After this, you can run python bot.py
to run your chatbot.