3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-11 04:45:02 +00:00

Add !slowmode command

This commit is contained in:
Dragory 2020-08-09 17:28:21 +03:00
parent 2d8decdb4f
commit 5215dd0738
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
10 changed files with 122 additions and 2 deletions

View file

@ -31,6 +31,7 @@ import { InviteInfoCmd } from "./commands/InviteInfoCmd";
import { ChannelInfoCmd } from "./commands/ChannelInfoCmd";
import { MessageInfoCmd } from "./commands/MessageInfoCmd";
import { InfoCmd } from "./commands/InfoCmd";
import { SnowflakeInfoCmd } from "./commands/SnowflakeInfoCmd";
const defaultOptions: PluginOptions<UtilityPluginType> = {
config: {
@ -44,6 +45,7 @@ const defaultOptions: PluginOptions<UtilityPluginType> = {
can_channelinfo: false,
can_messageinfo: false,
can_userinfo: false,
can_snowflake: false,
can_reload_guild: false,
can_nickname: false,
can_ping: false,
@ -71,6 +73,7 @@ const defaultOptions: PluginOptions<UtilityPluginType> = {
can_channelinfo: true,
can_messageinfo: true,
can_userinfo: true,
can_snowflake: true,
can_nickname: true,
can_vcmove: true,
can_help: true,
@ -124,6 +127,7 @@ export const UtilityPlugin = zeppelinPlugin<UtilityPluginType>()("utility", {
ChannelInfoCmd,
MessageInfoCmd,
InfoCmd,
SnowflakeInfoCmd,
],
onLoad(pluginData) {