mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-11 04:45:02 +00:00
Add !invite utility command
This commit is contained in:
parent
ebdeabdc32
commit
024078ccdc
7 changed files with 187 additions and 24 deletions
|
@ -27,6 +27,7 @@ import { JumboCmd } from "./commands/JumboCmd";
|
|||
import { AvatarCmd } from "./commands/AvatarCmd";
|
||||
import { CleanCmd } from "./commands/CleanCmd";
|
||||
import { Message } from "eris";
|
||||
import { InviteInfoCmd } from "./commands/InviteInfoCmd";
|
||||
|
||||
const defaultOptions: PluginOptions<UtilityPluginType> = {
|
||||
config: {
|
||||
|
@ -36,6 +37,7 @@ const defaultOptions: PluginOptions<UtilityPluginType> = {
|
|||
can_clean: false,
|
||||
can_info: false,
|
||||
can_server: false,
|
||||
can_invite: false,
|
||||
can_reload_guild: false,
|
||||
can_nickname: false,
|
||||
can_ping: false,
|
||||
|
@ -59,6 +61,7 @@ const defaultOptions: PluginOptions<UtilityPluginType> = {
|
|||
can_clean: true,
|
||||
can_info: true,
|
||||
can_server: true,
|
||||
can_invite: true,
|
||||
can_nickname: true,
|
||||
can_vcmove: true,
|
||||
can_help: true,
|
||||
|
@ -108,6 +111,7 @@ export const UtilityPlugin = zeppelinPlugin<UtilityPluginType>()("utility", {
|
|||
JumboCmd,
|
||||
AvatarCmd,
|
||||
CleanCmd,
|
||||
InviteInfoCmd,
|
||||
],
|
||||
|
||||
onLoad(pluginData) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue