mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 09:37:50 -05:00
feat: add unified Discord bot and dashboard
This commit is contained in:
1 parent
113bf9342e
commit
b11ae1dfa8
14 files changed
+1708
-14
No files matched your search
+2
-1
@@ -16,6 +16,7 @@ const totp = require("./totp.js");
|
||||
|
||||
const PERMISSIONS = {
|
||||
"server.view": "see read-only server health in the moderator panel",
|
||||
"server.announce": "send an announcement to everyone playing",
|
||||
"player.view": "see players, chat, reports, requests, bans and paintings in the moderator panel, and keep notes on players (!note, !notes)",
|
||||
"staff.list": "see which staff are online (!staff)",
|
||||
"player.warn": "warn a player, take a warning back, send them a message and mark a report dealt with (!warn, !unwarn, !warnings, !message)",
|
||||
@@ -38,7 +39,7 @@ const PERMISSIONS = {
|
||||
|
||||
const HELPER = ["server.view", "player.view", "staff.list", "player.warn", "player.goto", "chat.silence"];
|
||||
const MODERATOR = [...HELPER, "player.kick", "player.summon", "staff.invisible", "player.ban", "player.names", "address.ban", "items.approve", "items.restrict", "theater.control", "staff.log"];
|
||||
const ADMIN = [...MODERATOR, "items.create", "room.effects", "music.upload"];
|
||||
const ADMIN = [...MODERATOR, "server.announce", "items.create", "room.effects", "music.upload"];
|
||||
// a developer makes things, and moderates nobody.
|
||||
const DEVELOPER = ["server.view", "staff.list", "items.create", "room.effects", "theater.control"];
|
||||
|
||||
|
||||
Reference in new issue
Block a user