Skip to content

AaronTarga/R2-DiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R2-DiscordBot

a simple discord bot that plays music and r2d2 sounds

Requirements

  • At least Python3.6 or newer

    • with pip modules youtube-dl, discord.py, requests Best way to install dependencies is by using a virtual enviroment. I use Python3.9 currently.

    Then you can import all dependencies by calling:

    pip install -r requirements.txt
    

    With the requirements.txt file the exact version I used in the last commit gets used and it could be that for example youtube-dl is not up to date and music cannot be loaded anymore. If this happens packages can be updated like this:

    pip install --upgrade youtube_dl
    
  • settings.py file where the colors of messages can be set and the discord bot token:

    token = 'your-discord-bot-token'
    #the colors I used
    color = 0x333daa
    error_color = 0xe8292c
    #if you have friends with bad music taste :D
    bad_music = ['music','to','block']

About

a simple discord bot that plays music and r2d2 sounds

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages