Kanobot is a Discord bot written in Python and uses the Rewrite version of discord.py
Adapted from Just-Some-Bots/MusicBot and DiscordMusicBot/MusicBot
But remove the music features.
- Purge message
- Twitter subscribe support
- Roles management
- Meme
- More cmd
- Bot status
pip install pipenv
pipenv install --dev
- Copy config/example_config.ini to config/config.ini
cp config/example_config.ini config/config.ini
- bot_token must be replaced to correct token.
[Credentials]
; If you have a bot account (which you should), you can find your token here:
; https://discordapp.com/developers/applications/me/
; Then click the button for your bot to go to the bot's page.
; Make sure "Require OAuth2 Code Grant" is unchecked. You also do not need to
; add any "Redirect URIs" or "RPC Origins".
;
Token = bot_token
- Support twitter feature must be completed this
; Enable twitter webhook
; Go to https://developer.twitter.com/en/portal/projects-and-apps
; Setup project and link app
; Input BearerToken
TwitterBearerToken =
- python
pipenv run python run.py
- Docker
docker run --rm -ti -d --name kanobot -v ${pwd}/config:/app/config -v ${pwd}/logs:/app/logs sean2525/kanobot
- docker-compose
docker-compose up -d
# See available commands
!help
# Show bot invite link
!joinserver
...