mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-11 04:45:02 +00:00
Add !roleinfo and !emojiinfo (#198)
This commit is contained in:
parent
fb4f70a29c
commit
519cb4ece2
7 changed files with 247 additions and 46 deletions
|
@ -26,7 +26,6 @@ import { ReloadGuildCmd } from "./commands/ReloadGuildCmd";
|
|||
import { JumboCmd } from "./commands/JumboCmd";
|
||||
import { AvatarCmd } from "./commands/AvatarCmd";
|
||||
import { CleanCmd } from "./commands/CleanCmd";
|
||||
import { Message } from "eris";
|
||||
import { InviteInfoCmd } from "./commands/InviteInfoCmd";
|
||||
import { ChannelInfoCmd } from "./commands/ChannelInfoCmd";
|
||||
import { MessageInfoCmd } from "./commands/MessageInfoCmd";
|
||||
|
@ -37,6 +36,8 @@ import { TimeAndDatePlugin } from "../TimeAndDate/TimeAndDatePlugin";
|
|||
import { VcdisconnectCmd } from "./commands/VcdisconnectCmd";
|
||||
import { ModActionsPlugin } from "../ModActions/ModActionsPlugin";
|
||||
import { refreshMembersIfNeeded } from "./refreshMembers";
|
||||
import { RoleInfoCmd } from "./commands/RoleInfoCmd";
|
||||
import { EmojiInfoCmd } from "./commands/EmojiInfoCmd";
|
||||
|
||||
const defaultOptions: PluginOptions<UtilityPluginType> = {
|
||||
config: {
|
||||
|
@ -50,6 +51,8 @@ const defaultOptions: PluginOptions<UtilityPluginType> = {
|
|||
can_channelinfo: false,
|
||||
can_messageinfo: false,
|
||||
can_userinfo: false,
|
||||
can_roleinfo: false,
|
||||
can_emojiinfo: false,
|
||||
can_snowflake: false,
|
||||
can_reload_guild: false,
|
||||
can_nickname: false,
|
||||
|
@ -79,6 +82,8 @@ const defaultOptions: PluginOptions<UtilityPluginType> = {
|
|||
can_channelinfo: true,
|
||||
can_messageinfo: true,
|
||||
can_userinfo: true,
|
||||
can_roleinfo: true,
|
||||
can_emojiinfo: true,
|
||||
can_snowflake: true,
|
||||
can_nickname: true,
|
||||
can_vcmove: true,
|
||||
|
@ -138,6 +143,8 @@ export const UtilityPlugin = zeppelinGuildPlugin<UtilityPluginType>()("utility",
|
|||
MessageInfoCmd,
|
||||
InfoCmd,
|
||||
SnowflakeInfoCmd,
|
||||
RoleInfoCmd,
|
||||
EmojiInfoCmd,
|
||||
],
|
||||
|
||||
onLoad(pluginData) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue