Fix !counters reset_all not also removing triggers

This commit is contained in:
Dragory 2021-05-03 20:41:39 +03:00
parent ddaf3c98ee
commit 647c2eb85a
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
2 changed files with 7 additions and 0 deletions

View file

@ -532,5 +532,9 @@ export class GuildCounters extends BaseGuildRepository {
await this.counterValues.delete({
counter_id: counterId,
});
await this.counterTriggers.delete({
counter_id: counterId,
});
}
}