Add dev command to check server eligibility

This commit is contained in:
Dragory 2021-04-10 23:36:21 +03:00
parent 5f3c94d064
commit e57175dcc3
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
3 changed files with 63 additions and 0 deletions

View file

@ -17,10 +17,12 @@ import { Configs } from "../../data/Configs";
import { ApiPermissionAssignments } from "../../data/ApiPermissionAssignments";
import { ListDashboardUsersCmd } from "./commands/ListDashboardUsersCmd";
import { ListDashboardPermsCmd } from "./commands/ListDashboardPermsCmd";
import { EligibleCmd } from "./commands/EligibleCmd";
const defaultOptions = {
config: {
can_use: false,
can_eligible: false,
update_cmd: null,
},
};
@ -41,6 +43,7 @@ export const BotControlPlugin = zeppelinGlobalPlugin<BotControlPluginType>()("bo
RemoveDashboardUserCmd,
ListDashboardUsersCmd,
ListDashboardPermsCmd,
EligibleCmd,
],
onLoad(pluginData) {