mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 07:35:02 +00:00
Update to Knub 17.0.1, remove all d.nonBlocking() calls
This commit is contained in:
parent
4b6437c4ae
commit
ed3760313f
12 changed files with 38 additions and 65 deletions
|
@ -193,7 +193,6 @@ export class LogsPlugin extends Plugin {
|
|||
}
|
||||
|
||||
@d.event("guildBanAdd")
|
||||
@d.nonBlocking()
|
||||
async onMemberBan(_, user) {
|
||||
const relevantAuditLogEntry = await findRelevantAuditLogEntry(
|
||||
this.guild,
|
||||
|
@ -213,7 +212,6 @@ export class LogsPlugin extends Plugin {
|
|||
}
|
||||
|
||||
@d.event("guildBanRemove")
|
||||
@d.nonBlocking()
|
||||
async onMemberUnban(_, user) {
|
||||
const relevantAuditLogEntry = await findRelevantAuditLogEntry(
|
||||
this.guild,
|
||||
|
@ -233,7 +231,6 @@ export class LogsPlugin extends Plugin {
|
|||
}
|
||||
|
||||
@d.event("guildMemberUpdate")
|
||||
@d.nonBlocking()
|
||||
async onMemberUpdate(_, member: Member, oldMember: Member) {
|
||||
if (!oldMember) return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue