Skip to content

MinoLiu/KanoBot

Repository files navigation

KanoBot

CircleCI Docker Image Version (tag) license:mit

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.

TODO List

  • Purge message
  • Twitter subscribe support
  • Roles management
  • Meme
  • More cmd
  • Bot status

Installation

pip install pipenv
pipenv install --dev

Configuration

  • 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 = 

Run

  • 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

Usage

# See available commands
!help

# Show bot invite link
!joinserver
...

About

A bot for discord.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •