Basic bot setup¶
Invite Bag to your server. Click on this link to open the Discord bot invite page.
When you open the page, you will see this:
Select the server you wish to add the bot to and click "Continue".
Now, you can take a look at what permissions Bag will have on your server. Feel free to uncheck any of them, but keep in mind that doing it may break some of Bag's features.
Voila! You have added Bag to your server.
Now, you will need to add a bot administrator role - a role that can use all of Bag's commands.
There are multiple ways to do this. The command to do so is
bot role add admin <role>.
Only the server owner can add administrator roles until one is set.
Adding role by using its ID¶
To add a role by using its ID, you will need to enable Discord's Developer Mode to find the IDs of the roles you wish to make bot administrator roles.
Enabling it is simple:
User Settings -> Appearance -> Developer Mode.
Click on your server's name in the top left corner, and then "Server Settings".
Next, click on the "Roles" tab on the left.
Now, right click on a role you wish to add as a bot administrator role and click on "Copy ID":
It is now time to actually add the role(s). Do
!bot role add admin <role> to add a role:
Adding role by writing its name¶
You can also write the role's name in place of the
This way of adding roles is not recommended because there could be multiple roles with the same name and add the wrong role.
Adding role by mentioning it¶
Alternatively, you can mention a role in place of the
This step is optional. Do this if you wish to mute users via Bag.
Let's set a role that will be given to users who are muted by using the
mute command. This role should have no "Send Messages" permission.
The command to do that is
!bot role set muted <role>.
Keep in mind that you can only set one Muted role.