Merge remote-tracking branch 'refs/remotes/origin/master' into dev
This commit is contained in:
commit
9a330557f3
@ -47,50 +47,3 @@ ________________________________________________________________________________
|
||||
- On the left tab, access Credentials. There will be a line saying "If you wish to skip this step and create an API key, client ID or service account." Click on API Key, and then Server Key in the new window that appears. Enter in a name for the server key. A new window will appear with your Google API key. Copy the key.
|
||||
- Open up credentials.json. For "GoogleAPIKey", fill in with the new key.
|
||||
- Go to (https://soundcloud.com/you/apps/new). Enter a name for the app and create it. You will see a page with the title of your app, and a field labeled Client ID. Copy the ID. In credentials.json, fill in "SoundcloudClientID" with the copied ID.
|
||||
|
||||
________________________________________________________________________________
|
||||
|
||||
#### Setting Up NadekoBot Permissions
|
||||
###### NadekoBot's permissions can be set up to be very specific through commands in the Permissions module.
|
||||
Each command or module can be turned on or off at:
|
||||
- a user level (so specific users can or cannot use a command/module)
|
||||
- a role level (so only certain roles have access to certain commands/module)
|
||||
- a channel level (so certain commands can be limited to certain channels, which can prevent music / trivia / NSFW spam in serious channels)
|
||||
- a server level.
|
||||
|
||||
Use .modules to see a list of modules (sets of commands).
|
||||
Use .commands [module_name] to see a list of commands in a certain module.
|
||||
|
||||
Permissions use a semicolon as the prefix, so always start the command with a ;.
|
||||
|
||||
Follow the semicolon with the letter of the level which you want to edit.
|
||||
- "u" for Users.
|
||||
- "r" for Roles.
|
||||
- "c" for Channels.
|
||||
- "s" for Servers.
|
||||
|
||||
Follow the level with whether you want to edit the permissions of a command or a module.
|
||||
- "c" for Command.
|
||||
- "m" for Module.
|
||||
|
||||
Follow with a space and then the command or module name (surround the command with quotation marks if there is a space within the command, for example "!m q" or "!m n").
|
||||
|
||||
Follow that with another space and, to enable it, type one of the following: [1, true, t, enable], or to disable it, one of the following: [0, false, f, disable].
|
||||
|
||||
Follow that with another space and the name of the user, role, channel. (depending on the first letter you picked)
|
||||
|
||||
###### Examples
|
||||
- **;rm NSFW 0 [Role_Name]** Disables the NSFW module for the role, <Role_Name>.
|
||||
- **;cc "!m n" 0 [Channel_Name]** Disables skipping to the next song in the channel, <Channel_Name>.
|
||||
- **;uc "!m q" 1 [User_Name]** Enables queuing of songs for the user, <User_Name>.
|
||||
- **;sm Gambling 0** Disables gambling in the server.
|
||||
|
||||
Check permissions by using the letter of the level you want to check followed by a p, and then the name of the level in which you want to check. If there is no name, it will default to yourself for users, the @everyone role for roles, and the channel in which the command is sent for channels.
|
||||
|
||||
###### Examples
|
||||
- ;cp [Channel_Name]
|
||||
- ;rp [Role_Name]
|
||||
|
||||
Insert an **a** before the level to edit the permission for all commands / modules for all users / roles / channels / server.
|
||||
|
||||
Reference the Help command (-h) for more Permissions related commands.
|
||||
|
Loading…
Reference in New Issue
Block a user