mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-11 04:45:02 +00:00
Add !channel/!channelinfo
This commit is contained in:
parent
a1a5952e44
commit
14af94e7a3
10 changed files with 144 additions and 0 deletions
|
@ -28,6 +28,7 @@ import { AvatarCmd } from "./commands/AvatarCmd";
|
|||
import { CleanCmd } from "./commands/CleanCmd";
|
||||
import { Message } from "eris";
|
||||
import { InviteInfoCmd } from "./commands/InviteInfoCmd";
|
||||
import { ChannelInfoCmd } from "./commands/ChannelInfoCmd";
|
||||
|
||||
const defaultOptions: PluginOptions<UtilityPluginType> = {
|
||||
config: {
|
||||
|
@ -38,6 +39,7 @@ const defaultOptions: PluginOptions<UtilityPluginType> = {
|
|||
can_info: false,
|
||||
can_server: false,
|
||||
can_invite: false,
|
||||
can_channel: false,
|
||||
can_reload_guild: false,
|
||||
can_nickname: false,
|
||||
can_ping: false,
|
||||
|
@ -62,6 +64,7 @@ const defaultOptions: PluginOptions<UtilityPluginType> = {
|
|||
can_info: true,
|
||||
can_server: true,
|
||||
can_invite: true,
|
||||
can_channel: true,
|
||||
can_nickname: true,
|
||||
can_vcmove: true,
|
||||
can_help: true,
|
||||
|
@ -112,6 +115,7 @@ export const UtilityPlugin = zeppelinPlugin<UtilityPluginType>()("utility", {
|
|||
AvatarCmd,
|
||||
CleanCmd,
|
||||
InviteInfoCmd,
|
||||
ChannelInfoCmd,
|
||||
],
|
||||
|
||||
onLoad(pluginData) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue