Using Miki’s role management commands in your server!

Written by Zephy, Veld

Sun Feb 16 2020

So, looking to configure some roles in your server? Great! This guide will explain each command involved in configuring and obtaining roles using Miki, as well as go through some Discord features such as setting up permissions within your server. After reading this, you will have the necessary knowledge to set up a variety of different role configurations and know how to opt in or out of available roles. Before we start; make sure you already have Miki in your Discord server if you’d like to follow along and try things out for yourself!

In this guide we will be showing you

  • How the role commands work
  • How to prepare your server for role management
  • How to use arguments to configure roles

Role commands

Before we get into configuring roles, let’s take a look at all of the commands you’ll need to know beforehand!

Commands Description
/roleconfig [role] [arguments] Used to configure roles and set their requirements, can only be used by people with permission to manage roles. Role names made up of multiple words must be surrounded with quotation marks
/iamlist [page_number] Will display a list of roles obtainable using /iam [role_name] as well as their requirements </i/Minimum level required Role required Cost of role in Mekos
/iam [role] will allow you to opt in to an optable role, giving you the role. This will only work if you meet the requirements of the role.
/iamnot [role] will allow you to opt out of an optable role that you have already obtained, removing the role from you.

Example of Command Usage

To configure a role, use the /roleconfig slash command. See below for options.

Once the role is configured as optable, it will appear on the /iamlist with its requirement displayed in the form of emotes.

This role displays no emotes because it has no requirements.

Now that the role is optable, it can be gained using /iam [role_name]

To opt out of the role, use /iamnot [role_name]

Preparing your server

Before a role can be configured, it needs to be created first. To create roles within your server you have to navigate to the role tab within the server settings, here you will be able to create new roles and edit any existing roles.

Permissions

What are permissions

Permissions are used within a discord server to give members or bots access to certain features. permissions are given to people through roles, each role can have a different set of permissions, however if a user has multiple roles their permissions will be inherited from their highest role.

Miki needs the "Manage Roles" permission in order to access the Discord servers roles. You can give Miki access to this permission by navigating to Miki’s role in server settings and enabling 'Manage Roles'.

The 'Manage Roles' permission will only give Miki authority to manage roles underneath her role in the role hierarchy, therefore any roles you intend to configure will need to be below her role, you can drag roles up or down the hierarchy to change their position.

Configuration

Now you're ready to configure some roles! Let's take a look at the commands associated with role management and the different arguments available to use when configuring roles.

Arguments

There are multiple ways you can configure a role, each of these arguments will change the way the role is obtained by your members.

Recommended ways to use Miki’s role system

Even though you’re completely free to use Miki and her role system; we would like to give you some inspiration of what you can do with these role configurations!

Roles for level ups

This role configuration will make it so that whenever a user reaches level 5 on your Discord server, they will get the specific role! This can be used to reward users that are being active, and whenever they level up to the required level, Miki will automatically give this role to the user.

There’s two different arguments you need: Automatic and Level-Required.

  • Automatic is needed so that when your discord members are level 5, they will automatically get the role!
  • Level-Required is needed to lock away the role from people below level 5. It would be unfair if anyone could just get it without being level 5.

To create this role use the following command.

/configrole role:@role automatic:true levelrequired:5

Optable roles

This is a very common, and easy way to freely create roles that can be obtained by anyone. This is super easy to use for roles such as hobbies, colours, and similar kinds of roles.

What Optable does is allow people to use this role in /iam and /iamnot, and they will appear in the /iamlist. This is mostly for commands that people should be free to take or not, whichever they want.

To create this role use the following command.

/configrole role:@role optable:true

Twitch subscriber roles

If you’re a creator on Twitch, Patreon, etc. Miki can allow your supporters to have special roles. This can be super convenient, because on occasion you might want to have users have extra rewards on your server, but still have them pick between different ones.

For example, you can have default colours which your Discord members can freely choose, and then for supporters; you can have prettier, hand-picked colours, to let them brag in the chat.

There’s two different arguments you need: Optable and Role-Required.

  • Optable allows people to use this role in /iam and /iamnot, and they will appear in the /iamlist. This is mostly for commands that people should be free to take or not, whichever they want.
  • Role-Required is used to have another role be a requirement before users can opt-in to this role. This can be any role in your Discord server.

To create this role use the following command.

/configrole role:@role optable:true rolerequired:@Twitch Subscriber

We hope this guide has helped you use Miki’s role system to set up some roles for you and your members to use! Still have some questions? Why not join our discord server, we have an amazing community of Miki users to meet and our staff would be happy to answer any questions!

© Veld Technologies, 2022, All Rights Reserved

Crowdin | Agile localization for tech companies