3
0
Fork 0
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:
Dragory 2020-08-05 22:54:14 +03:00
parent a1a5952e44
commit 14af94e7a3
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
10 changed files with 144 additions and 0 deletions

View file

@ -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) {