Skip to content

Example Config

John Grosh edited this page Aug 30, 2018 · 19 revisions
/////////////////////////////////////////////////////////
// Config for the JMusicBot                            //
/////////////////////////////////////////////////////////
// Any line starting with // is ignored                //
// You MUST set the token and owner                    //
// All other items have defaults if you don't set them //
// Open in Notepad++ for best results                  //
/////////////////////////////////////////////////////////


// This sets the token for the bot to log in with
// This MUST be a bot token (user tokens will not work)
// If you don't know how to get a bot token, please see the guide here:
// https://github.com/jagrosh/MusicBot/wiki/Getting-a-Bot-Token

token=


// This sets the owner of the bot
// This needs to be the owner's ID (a 17-18 digit number)
// https://github.com/jagrosh/MusicBot/wiki/Finding-Your-User-ID

owner=


// This sets the prefix for the bot
// The prefix is used to control the commands
// If you use !!, the play command will be !!play
// If you do not set this, the prefix will be a mention of the bot (@Botname play)
// If you make this blank, the bot will not use a prefix

prefix=!!


/////////////////////////////////////////////////////////////
// If you change any of the settings below here, make sure //
// to remove the // at the beginning of the line with the  //
// setting. Any line starting with // is ignored!          //
/////////////////////////////////////////////////////////////


// If you set this, it modifies the default game of the bot
// Set this to NONE to have no game
// You can make the game 'Playing X', 'Listening to X', or 'Watching X'
// where X is the title. If you don't include an action, it will use the
// default of 'Playing'
//
//game=Listening to Example game!


// If you set this, it will modify the default status of bot
// Valid values: ONLINE IDLE DND INVISIBLE
//
//status=ONLINE


// If you set this to true, the bot will list the title of the song it is currently playing in its
// "Playing" status. Note that this will ONLY work if the bot is playing music on ONE guild;
// if the bot is playing on multiple guilds, this will not work.
//
//songinstatus=true


// If you set this, the bot will also use this prefix in addition to
// the one provided above
//
//altprefix=;;


// If you set these, it will change the various emojis
//
//success=🎶
//warning=💡
//error=🚫
//loading=⌚
//searching=🔎


// If you set this, you change the word used to view the help.
// For example, if you set the prefix to !! and the help to cmds, you would type
// !!cmds to see the help text
//
//help=cmds


// If you set this, the "nowplaying" command will show youtube thumbnails
// Note: If you set this to true, the nowplaying boxes will NOT refresh
// This is because refreshing the boxes causes the image to be reloaded
// every time it refreshes.
//
//npimages=true


// If you set this, the bot will not leave a voice channel after it finishes a queue.
// Keep in mind that being connected to a voice channel uses additional bandwith,
// so this option is not recommended if bandwidth is a concern.
//
//stayinchannel=true


// This sets the maximum amount of seconds any track loaded can be. If not set or set
// to any number less than or equal to zero, there is no maximum time length. This time
// restriction applies to songs loaded from any source.
//
//maxtime=3600

// If you set this to true, it will enable the eval command for the bot owner. This command
// allows the bot owner to run arbitrary code from the bot's account.
//
// WARNING:
// This command can be extremely dangerous. If you don't know what you're doing, you could
// cause horrific problems on your Discord server or on whatever computer this bot is running
// on. Never run this command unless you are completely positive what you are running.
//
// DO NOT ENABLE THIS IF YOU DON'T KNOW WHAT THIS DOES OR HOW TO USE IT
// IF SOMEONE ASKS YOU TO ENABLE THIS, THERE IS AN 11/10 CHANCE THEY ARE TRYING TO SCAM YOU
//
//eval=false

Clone this wiki locally