aa

aa


# This is the configuration file for MusicBot. You need to edit this file

# to setup the bot. Do not edit this file using Notepad as it ruins the

# formatting - use Notepad++ or a code editor like Visual Studio Code.


# For help, see: https://just-some-bots.github.io/MusicBot/


# To get IDs, enable Developer Mode (Options -> Settings -> Appearance)

# on Discord and then right-click the person/channel you want to get the

# channel of, then click 'Copy ID'. You can also use the 'listids' command.

# (http://i.imgur.com/GhKpBMQ.gif)



; HOW TO GET VARIOUS IDS:

; http://i.imgur.com/GhKpBMQ.gif

; Enable developer mode (options, settings, appearance), right click the object you want the id of, and click Copy ID

; This works for basically everything you would want the id of (channels and users).  For roles you have to right click a role mention.



[Credentials]

# This is your Discord bot account token.

# Find your bot's token here: https://discordapp.com/developers/applications/me/

# Create a new application, with no redirect URI or boxes ticked.

# Then click 'Create Bot User' on the application page and copy the token here.

Token = NzQ1OTAxNjgzODY2OTkyNjcy.Xz4hEw.w6yv2xTDPDgwpiVEFEo9iT-r9kw



# The bot supports converting Spotify links and URIs to YouTube videos and

# playing them. To enable this feature, please fill in these two options with valid

# details, following these instructions: https://just-some-bots.github.io/MusicBot/using/spotify/

Spotify_ClientID = 73ad8acc89984ca1bdc0a58ca9ea7e75

Spotify_ClientSecret = 159ddecad4384a4db75c2bd600c8657f


[Permissions]

# This option determines which user has full permissions and control of the bot.

# You can only set one owner, but you can use permissions.ini to give other

# users access to more commands.

# Setting this option to 'auto' will set the owner of the bot to the person who

# created the bot application, which is usually what you want. Else, change it

# to another user's ID.

OwnerID = 302015492154195968


# This option determines which users have access to developer-only commands.

# Developer only commands are very dangerous and may break your bot if used

# incorrectly, so it's highly recommended that you ignore this option unless you

# are familiar with Python code.

DevIDs =


# This option determines if the bot should respond to other any other bots

# put bot ID's here seperated with spaces

# Any id you put here the bot WILL respond to.

BotExceptionIDs =


[Chat]

# Determines the prefix that must be used before commands in the Discord chat.

# e.g if you set this to *, the play command would be triggered using *play.

CommandPrefix = .


# Restricts the bot to only listening to certain text channels. To use this, add

# the IDs of the text channels you would like the bot to listen to, seperated by

# a space.

BindToChannels =


# Changes the behavior of BindToChannels. Normally any messages sent to a channel not in

# BindToChannels will be ignored. This option allows servers that do not have any bound

# channels while other server have some defined to still use commands in any channel with

# the Music Bot. Setting this to yes when there are no bound channels does nothing.

AllowUnboundServers = no


# Allows the bot to automatically join servers on startup. To use this, add the IDs

# of the voice channels you would like the bot to join on startup, seperated by a

# space. Each server can have one channel. If this option and AutoSummon are

# enabled, this option will take priority.

AutojoinChannels =


# Send direct messages for now playing messages instead of sending them into the guild. They are

# sent to the user who added the media being played. Now playing messages for automatic entries

# are unaffected and follows NowPlayingChannels config. The bot will not delete direct messages.

DMNowPlaying = no


# Disable now playing messages for entries automatically added by the bot, via the autoplaylist.

DisableNowPlayingAutomatic = no


# For now playing messages that are unaffected by DMNowPlaying and DisableNowPlayingAutomatic,

# determine which channels the bot is going to output now playing messages to. If this is not

# specified for a server, now playing message for manually added entries will be sent in the same

# channel that users used the command to add that entry, and now playing messages for automatically 

# added entries will be sent to the same channel that the last now playing message was sent to if

# this is not specified for a server if possible. Specifying more than one channel for a server

# forces the bot to pick only one channel from the list to send messages to.

NowPlayingChannels =


# The bot would try to delete (or edit) previously sent now playing messages by default. If you

# don't want the bot to delete them (for keeping a log of what has been played), turn this 

# option off.

DeleteNowPlaying = yes


[MusicBot]

# The volume of the bot, between 0.01 and 1.0.

DefaultVolume = 0.25


# Only allows whitelisted users (in whitelist.txt) to use commands.

# WARNING: This option has been deprecated and will be removed in a future version

# of the bot. Use permissions.ini instead.

WhiteListCheck = no


# The number of people voting to skip in order for a song to be skipped successfully,

# whichever value is lower will be used. Ratio refers to the percentage of undefeaned, non-

# owner users in the channel. 

SkipsRequired = 4

SkipRatio = 0.5


# Determines if downloaded videos will be saved to the audio_cache folder. If this is yes,

# they will not be redownloaded if found in the folder and queued again. Else, videos will

# be downloaded to the folder temporarily to play, then deleted after to avoid filling space.

SaveVideos = yes


# Mentions the user who queued a song when it starts to play.

NowPlayingMentions = no


# Automatically joins the owner's voice channel on startup, if possible. The bot must be on

# the same server and have permission to join the channel.

AutoSummon = no


# Start playing songs from the autoplaylist.txt file after joining a channel. This does not

# stop users from queueing songs, you can do that by restricting command access in permissions.ini.

UseAutoPlaylist = no


# Sets if the autoplaylist should play through songs in a random order when enabled. If no,

# songs will be played in a sequential order instead.

AutoPlaylistRandom = no


# Pause the music when nobody is in a voice channel, until someone joins again.

AutoPause = yes


# Automatically cleanup the bot's messages after a small period of time.

DeleteMessages = yes


# If this and DeleteMessages is enabled, the bot will also try to delete messages from other

# users that called commands. The bot requires the 'Manage Messages' permission for this.

DeleteInvoking = no


# Regularly saves the queue to the disk. If the bot is then shut down, the queue will

# resume from where it left off.

PersistentQueue = yes


# Determines what messages are logged to the console. The default level is INFO, which is

# everything an average user would need. Other levels include CRITICAL, ERROR, WARNING,

# DEBUG, VOICEDEBUG, FFMPEG, NOISY, and EVERYTHING. You should only change this if you

# are debugging, or you want the bot to have a quieter console output.

DebugLevel = INFO


# Specify a custom message to use as the bot's status. If left empty, the bot

# will display dynamic info about music currently being played in its status instead.

StatusMessage = 


# Write what the bot is currently playing to the data/<server id>/current.txt FILE.

# This can then be used with OBS and anything else that takes a dynamic input.

WriteCurrentSong = no


# Allows the person who queued a song to skip their OWN songs instantly, similar to the

# functionality that owners have where they can skip every song instantly.

AllowAuthorSkip = yes


# Enables experimental equalization code. This will cause all songs to sound similar in

# volume at the cost of higher processing consumption when the song is initially being played.

UseExperimentalEqualization = no


# Enables the use of embeds throughout the bot. These are messages that are formatted to

# look cleaner, however they don't appear to users who have link previews disabled in their

# Discord settings.

UseEmbeds = yes


# The amount of items to show when using the queue command.

QueueLength = 10


# Remove songs from the autoplaylist if an error occurred while trying to play them.

# If enabled, unplayable songs will be moved to another file and out of the autoplaylist.

# You may want to disable this if you have internet issues or frequent issues playing songs.

RemoveFromAPOnError = yes


# Whether to show the configuration for the bot in the console when it launches.

ShowConfigOnLaunch = no


# Whether to use leagcy skip behaviour. This will change it so that those with permission

# do not need to use "skip f" to force-skip a song, they will instead force-skip by default.

LegacySkip = no


# Leave servers if the owner is not found in them.

LeaveServersWithoutOwner = no


# Use command alias defined in aliases.json.

UseAlias = yes


[Files]

# Path to your i18n file. Do not set this if you do not know what it does.

i18nFile = 










; DON'T OPEN THIS FILE WITH NOTEPAD.  If you don't have a preferred text editor, use notepad++ or any other modern text editor.

;

; If you edit this file, Save-As permissions.ini

;

;

; Basics:

; - Semicolons are comment characters, any line that starts with one is ignored.

; - Sections headers are permissions groups, they're the lines that have a word in [Brackets].  You can add more for more permissions groups.

; - Options with a semicolon before them will be ignored.

; - Add whatever permissions you want, but always have at least one.

; - Never have an options without a value, i.e. "CommandBlacklist = "

; - [Default] is a special section.  Any user that doesn't get assigned to a group via role or UserList gets assigned to this group.

; - [Owner (auto)] is a section that owner of the bot gets assigned to.

;

;

; Option info:

;

;    [Groupname]

;    This is the section header.  The word is the name of the group, just name it something appropriate for its permissions.

;

;    CommandWhitelist = command1 command2

;    List of commands users are allowed to use, separated by spaces.  Don't include the prefix, i.e. !  Overrides CommandBlacklist if set.

;

;    CommandBlacklist = command1 command2

;    List if commands users are not allowed to use.  You don't need to use both

;    whitelist and blacklist since blacklist gets overridden.  Just pick one.

;

;    IgnoreNonVoice = command1 command2

;    List of commands that the user is required to be in the same voice channel as the bot to use.

;    For example, if you don't want the user to be able to voteskip songs while not in the voice channel, add skip to this option.

;

;    GrantToRoles = 111222333444555 999888777000111

;    List of ids to automatically grant this group to.  To get the id of a role, use the listids command.

;

;    UserList = 21343341324 321432413214321

;    List of user ids to grant this group to.  This option overrides the role granted by the GrantToRoles option.

;

;    MaxSongLength = 600

;    Maximum length of a song in seconds.  Note: This won't always work if the song data doesn't have duration listed.

;    This doesn't happen often, but youtube, soundcloud, etc work fine though.  This will be fixed in a future update.

;    A value of 0 means unlimited.

;

;    MaxSongs = 5

;    Maximum number of songs a user is allowed to queue. A value of 0 means unlimited.

;

;    MaxPlaylistLength = 10

;    Maximum number of songs a playlist is allowed to have to be queued. A value of 0 means unlimited.

;

;    MaxSearchItems = 10

;    The maximum number of items that can be returned in a search.

;

;    AllowPlaylists = yes

;    Whether or not the user is allowed to queue entire playlists.

;

;    InstaSkip = no

;    Allows the user to skip a song without having to vote, like the owner.

;

;    Remove = no

;    Allows the user to remove any song from the queue at any point.

;

;    SkipWhenAbsent = yes

;    Tells the bot to automatically skip songs queued by people in this group who have left the voice channel after queueing.

;    Will only skip once the song is about to play.

;

;    BypassKaraokeMode = no

;    Allows the user to queue songs even when karaoke mode is activated.

;

;    Extractors = example1 example2

;    Specify the name of youtube-dl extractors that people will be able to play using the bot. Seperated by spaces.

;    This is to allow restriction of playing porn videos through the bot, as these are supported by yt-dl. Leave blank to allow all.

;    For a list of possible extractors, see https://github.com/rg3/youtube-dl/tree/master/youtube_dl/extractor

;    The generic extractor is used by the bot to query the song when the query text is given via the play command.

;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



; I've set some example groups, these should be fine.  Just add your roles or users and you should be good to go.


;;;;;;;;;;;;;;;;;;;

;

;  AND HEY.

;  Before you ask any dumb "how do I do this" questions in the help server, you should probably read that big comment I put time

;  into writing for this exact purpose.  It tells you how to use every option.  Your question is probably answered there.

;

;;;;;;;;;;;;;;;;;;;




; This group is for owner.  Any options not specified will fallback to permissive default value.  Don't remove/rename this group.

; You cannot assign users or roles to this group.  Those options are ignored.

[Owner (auto)]

; MaxSongLength = 0

; MaxSongs = 0

; MaxPlaylistLength = 0

; AllowPlaylists = yes

; InstaSkip = yes

; Remove = yes

; SkipWhenAbsent = no

; BypassKaraokeMode = yes

; ToggleAutoPlaylists = yes

; Extractors = 


; This is the fallback group for any users that don't get assigned to another group.  Don't remove/rename this group.

; You cannot assign users or roles to this group.  Those options are ignored.

[Default]

CommandWhitelist = play perms queue np skip search id help clean

; CommandBlacklist =

IgnoreNonVoice = play skip search

MaxSongLength = 1200

MaxSongs = 0

MaxSearchItems = 10

AllowPlaylists = yes

; MaxPlaylistLength = 20

InstaSkip = no

Remove = no

SkipWhenAbsent = no

BypassKaraokeMode = no

Extractors = generic youtube youtube:playlist soundcloud


; This group has full permissions.

[MusicMaster]

; GrantToRoles =

; UserList =

MaxSongLength = 0

MaxSongs = 0

MaxPlaylistLength = 0

MaxSearchItems = 20

AllowPlaylists = yes

InstaSkip = yes

Remove = yes

SkipWhenAbsent = no

BypassKaraokeMode = yes

Extractors = 


; This group can't use the blacklist and listids commands, but otherwise has full permissions.

[DJ]

CommandBlacklist = blacklist listids

; GrantToRoles =

; UserList =

MaxSongLength = 0

MaxSongs = 0

MaxPlaylistLength = 0

MaxSearchItems = 20

AllowPlaylists = yes

InstaSkip = yes

Remove = yes

SkipWhenAbsent = no

BypassKaraokeMode = yes

Extractors = generic youtube youtube:playlist soundcloud


; This group can only use the listed commands, can only use play/skip when in the bot's voice channel,

; can't request songs longer than 3 and a half minutes, and can only request a maximum of 8 songs at a time.

[Limited]

CommandWhitelist = play queue np perms help skip

; CommandBlacklist =

IgnoreNonVoice = play skip

; GrantToRoles =

MaxSongLength = 210

MaxSongs = 8

MaxSearchItems = 10

AllowPlaylists = yes

InstaSkip = no

Remove = no

SkipWhenAbsent = yes

BypassKaraokeMode = no

Extractors = generic youtube youtube:playlist



Report Page