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

Add !message/!messageinfo command

This commit is contained in:
Dragory 2020-08-06 00:46:47 +03:00
parent 60aff76ebe
commit e8ff297368
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
9 changed files with 210 additions and 0 deletions

View file

@ -29,6 +29,7 @@ import { CleanCmd } from "./commands/CleanCmd";
import { Message } from "eris";
import { InviteInfoCmd } from "./commands/InviteInfoCmd";
import { ChannelInfoCmd } from "./commands/ChannelInfoCmd";
import { MessageInfoCmd } from "./commands/MessageInfoCmd";
const defaultOptions: PluginOptions<UtilityPluginType> = {
config: {
@ -40,6 +41,7 @@ const defaultOptions: PluginOptions<UtilityPluginType> = {
can_server: false,
can_invite: false,
can_channel: false,
can_message: false,
can_reload_guild: false,
can_nickname: false,
can_ping: false,
@ -65,6 +67,7 @@ const defaultOptions: PluginOptions<UtilityPluginType> = {
can_server: true,
can_invite: true,
can_channel: true,
can_message: true,
can_nickname: true,
can_vcmove: true,
can_help: true,
@ -116,6 +119,7 @@ export const UtilityPlugin = zeppelinPlugin<UtilityPluginType>()("utility", {
CleanCmd,
InviteInfoCmd,
ChannelInfoCmd,
MessageInfoCmd,
],
onLoad(pluginData) {