RokHub
Top up
Browse the docs

Docs Server setup

/channel

Admin

Pick the channels where lookup and calculator commands work.

What it does

Lookups and calculators only answer in the channels you pick here. Until at least one is set, they are blocked everywhere.

Pick one channel for All Commands, or a channel per group: Commander Info (/commander), Meta Lineups (/pairings, /marches), KvK Commands (/timer, /flag) and Event Info (/event).

Setup, signup, stats and personal commands such as /stats, /heal, /title, /verify and /mge work in every channel and are not affected.

When to use it

Once, right after the bot joins, so members are not spamming lookups in your main chat.

Who can use it

Who

Admins only: members with Administrator, Manage Server or the Bot Admin role.

Where

Any channel the bot can see.

Subcommands

Type the command, then pick one of these. Each has its own options.

/channel add

Allows a command group in a channel. Adding a group again moves it to the new channel.

  • group Required pick from a list

    Which commands.

    All CommandsCommander InfoMeta LineupsKvK CommandsEvent InfoBundle InfoCalculators
  • channel Required channel

    Where they may run.

/channel remove

Removes the channel for a group.

  • group Required pick from a list

    Which commands.

/channel list

Shows where each group may run. Only you see it.

Examples

Copy one, paste it in Discord and change the values. Under each is what the bot answers.

/channel add group: All Commands channel: #bot-commands

"All Commands now runs in #bot-commands." Every lookup works there.

/channel add group: KvK Commands channel: #kvk-timers

"KvK Commands now runs in #kvk-timers." /timer and /flag also work there.

/channel list

A private card with each group and its channel, or Not set.

/channel remove group: Meta Lineups

"Meta Lineups has no channel now." Those commands still run in the All Commands channel.

Tips and mistakes

Tips

  • Most kingdoms only need one line: All Commands in a #bot-commands channel.
  • Bundle Info and Calculators are in the list too. No command uses them today, so All Commands covers you.

Common mistakes

  • Members see "An admin has not picked a channel for bot commands yet." That means no group has a channel. Add All Commands first.
  • The bot needs to see and post in the channel you pick, or the commands will look broken there.

Dashboard setting

Server setup

Command channels are also on the Server setup page in the Discord Bot tab in your kingdom hub.