No description
- Python 100%
| demo | Add English endgame screenshot | |
| lang | Finish English translation | |
| .gitignore | Save and load states in 'saves' folder | |
| bot.py | Update the readmes | |
| classic.py | Finish English translation | |
| core.py | Finish English translation | |
| dictionize.py | Clear player list when loading in debug mode | |
| issues | Send help message in dm channel | |
| one_night.py | Finish English translation | |
| README-vn.md | Add English endgame screenshot | |
| README.md | Update README.md | |
| requirements.txt | Update the readmes | |
| server_conf.example.py | Make example config clearer | |
| test.py | Finish English translation | |
Wolfmod
Chatbot moderator for Werewolf game
Installation
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.
Setup on Discord
-
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
Run the chatbot
After cloning this repo, rename server_conf.example.py to server_conf.py and fill your info to all the variables in it:
TOKENthe bot's token you copiedGAME_CHANNELtake the ID of your game channel by right clicking and copy the channel IDDEBUG_CHANNELthe ID of a debug channel to send error messagesADMINSput your own user ID to become an adminLANGUAGEputenfor English
After this, you can run python bot.py to run your chatbot.