Skip to content

Rank system

Sahri Riza Umami edited this page Apr 2, 2016 · 4 revisions

Merbot's administration uses rank system that differentiate privileges for each of rank.
Higher rank inherits the privileges of the lower.

sudo

sudo user is the highest rank and have all privileges. It's inherits the privileges of admin, owner and mod.
Initiallly, sudo is the bot account. But we can add sudo users later using visudo command.

sudo privileges:

  • set the bot to autoleave
  • promote or demote another sudoers
  • promote or demote administartors

admin

admin is the second highest rank after sudo and inherits the privileges of owner and mod.

admin privileges:

  • create group
  • globally ban user
  • add or remove groups from administration
  • enable or disable bot in a group
  • whitelisting or remove whitelist groups
  • whitelisting or remove whitelist users
  • promote or demote groups owners

owner

owner is a group owners. It's inherits the privileges of mod.

owner privileges:

  • set group settings
  • set group restrictions
  • promote or demote moderators

mod

mod is the least privileged in rank system.

mod privileges:

  • kick users
  • ban users
  • invite users

user

user is default user.
It's have no priveleges but can still issuing administrations commands; i.e print group's invite link, rules and descriptions.


ban

ban is banned user. It's will be kicked out of the group and re-kicked if try to re-join.