mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 00:35:02 +00:00
Add !message/!messageinfo command
This commit is contained in:
parent
4b062f6d23
commit
a95f7bd96e
9 changed files with 210 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue