mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-24 01:55:03 +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
|
@ -1,12 +0,0 @@
|
|||
import { locateUserEvent } from "../types";
|
||||
|
||||
export const GuildBanAddEvt = locateUserEvent({
|
||||
event: "guildBanAdd",
|
||||
|
||||
async listener(meta) {
|
||||
const alerts = await meta.pluginData.state.alerts.getAlertsByUserId(meta.args.user.id);
|
||||
alerts.forEach(alert => {
|
||||
meta.pluginData.state.alerts.delete(alert.id);
|
||||
});
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue