mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 04:25:01 +00:00
Rename Events and files to prevent ambiguity and order availablePlugins
This commit is contained in:
parent
f324dfc227
commit
0bc7dc17b7
13 changed files with 59 additions and 65 deletions
|
@ -7,9 +7,8 @@ import { fillActiveAlertsList } from "./utils/fillAlertsList";
|
|||
import { WhereCmd } from "./commands/WhereCmd";
|
||||
import { FollowCmd } from "./commands/FollowCmd";
|
||||
import { ListFollowCmd, DeleteFollowCmd } from "./commands/ListFollowCmd";
|
||||
import { ChannelJoinEvt, ChannelSwitchEvt } from "./events/ChannelJoinEvt";
|
||||
import { ChannelLeaveEvt } from "./events/ChannelLeaveEvt";
|
||||
import { GuildBanAddEvt } from "./events/GuildBanAddEvt";
|
||||
import { ChannelJoinAlertsEvt, ChannelSwitchAlertsEvt, ChannelLeaveAlertsEvt } from "./events/SendAlertsEvts";
|
||||
import { GuildBanRemoveAlertsEvt } from "./events/BanRemoveAlertsEvt";
|
||||
|
||||
const defaultOptions: PluginOptions<LocateUserPluginType> = {
|
||||
config: {
|
||||
|
@ -41,10 +40,10 @@ export const LocateUserPlugin = zeppelinPlugin<LocateUserPluginType>()("locate_u
|
|||
|
||||
// prettier-ignore
|
||||
events: [
|
||||
ChannelJoinEvt,
|
||||
ChannelSwitchEvt,
|
||||
ChannelLeaveEvt,
|
||||
GuildBanAddEvt
|
||||
ChannelJoinAlertsEvt,
|
||||
ChannelSwitchAlertsEvt,
|
||||
ChannelLeaveAlertsEvt,
|
||||
GuildBanRemoveAlertsEvt
|
||||
],
|
||||
|
||||
onLoad(pluginData) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue