discordyoutubemonitor/config_example.py

33 lines
1.2 KiB
Python

#youtube
apikey = [] #you can add more than one apikey for youtube Data API V3, so we switch if one is used to the limit
updateInterval = 60 #the time in minutes the bot waits until next data update (don't do this to often or you need a lot of API keys)
blocklist = [] # dont play tracks listed here, please enter only the IDs (e.g. IbNI9uaCQhE)
#options
defaultVolume = 90#the default volume used for every track at the beginning. 90% is a good value, be careful with 100%
adminUserID = 0#the Discord user ID of the Server admin (for registration and error messages)
debugLog = True #enable this if you wan't to get more log output
#mysql
mysqlHostname = ""
mysqlUsername = ""
mysqlPassword = ""
mysqlDatabase = ""
#bot
prefix="y!"#the prefix used for commands
token=""#your bot api token
status = ""#the status is always listening, this is only the text
defaultPlaylistURL = "https://www.youtube.com/playlist?list=UUw90YnkH-i0PaYoBlUJ1Vsw"
inviteURL = ""
# heart beat
heartBeatEnabled = False
heartBeatURL = "https://google.de"
# lavalink / dave-compatible voice backend
lavalinkHost = "127.0.0.1"
lavalinkPort = 2333
lavalinkPassword = "youshallnotpass"
lavalinkSecure = False
lavalinkLabel = "main"