Skip to content

Discord Server Manual Configurations

TIP

This section is also available in the app while setting up your service.

While setting up your service / business, you will need to configure your Discord server manually at some point. This is a limitation by Discord which prevents us from doing it automatically.

Please note that some of these steps are required in order to get the bot to work properly within your Discord server.

Roles

TIP

This section is required only if you have set up your service to assign a role to users when they are on-duty.

  1. On Discord, go to Server Settings > Roles.
  2. Ensure that the role of the Discord bot is higher than the role you want to assign to employees when they are on-duty.

Example:

Roles list example
In this example, the "OnClock" role is given to the bot, the "ON DUTY" role is given to the user who is on-duty.

Integrations

TIP

The following sections are optional, but recommended. It will allow you to restrict who and where employees can use the bot.

To start, you'll need to perform these steps to access the OnClock integration page of your Discord server.

  1. On Discord, go to Server Settings > Integrations
  2. Scroll to see OnClock
  3. Press the "Manage" button on the right.

Role Restrictions

We highly recommend that you restrict access to OnClock commands to only the employees of the service if you are on the same Discord server as the rest of your community.

  1. In the Roles and Members section, turn off the @everyone option.
  2. Add all the roles that match the roles of your employees in the service and toggle them on.

Example:

Role restrictions example
In this example, the employees of the service have the role "OC-Police". The "OC-Firefighter" role is also present as the Discord server host two different services.

Text Channel Restrictions

Although you previously selected a text channel while setting up your service, Discord does not know that the commands are only expected to be executed in that channel. This setting will make sure that the commands aren't shown in other channels.

  1. In the Channels section, disable the "All Channels" option.
  2. Select the text channel you selected while setting up your service.

Example:

Text channel restrictions example
In this example, the commands will be only available in the "my-channel" text channel.

Command Restrictions

In the Commands section, you can disable any commands that you do not want to use. For example, if you don't want your employees to be able to request backup (mostly used by emergency services) you can disable the /backup command.

In addition, the /fonduty and /foffduty commands should only be used by your managers or superiors (e.g. a supervisor). We recommend that you configure them as private commands accessible to these roles only.

  1. In the Commands section, click on the command you want to configure.
  2. Disable and add the roles you want to restrict access to for that command.
  3. Disable and add the channels you want to restrict access to for that command.

Example:

Commands restrictions example
Commands restrictions example
In this example, the /fonduty command is restricted to the "OC-Dispatch" role and will only be shown in the "my-channel" text channel