3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-19 08:05:01 +00:00

Update to Knub 17.0.1, remove all d.nonBlocking() calls

This commit is contained in:
Dragory 2019-02-17 15:19:55 +02:00
parent 7a13d04455
commit 9c099d5541
12 changed files with 38 additions and 65 deletions

View file

@ -73,7 +73,6 @@ export class NameHistoryPlugin extends Plugin {
}
@d.event("guildMemberAdd")
@d.nonBlocking()
async onGuildMemberAdd(_, member: Member) {
const latestEntry = await this.nameHistory.getLastEntryByType(member.id, NameHistoryEntryTypes.Username);
const username = `${member.user.username}#${member.user.discriminator}`;