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:
parent
7a13d04455
commit
9c099d5541
12 changed files with 38 additions and 65 deletions
|
@ -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}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue