Make more events non-blocking

This commit is contained in:
Dragory 2019-02-16 14:13:46 +02:00
parent 44c731564b
commit 6358022442
3 changed files with 11 additions and 8 deletions

View file

@ -210,6 +210,7 @@ export class ModActionsPlugin extends ZeppelinPlugin {
* Show an alert if a member with prior notes joins the server
*/
@d.event("guildMemberAdd")
@d.nonBlocking()
async onGuildMemberAdd(_, member: Member) {
if (!this.configValue("alert_on_rejoin")) return;