aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/guild
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-25 12:38:13 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-25 12:38:13 -0400
commit6d27d53623d84127c43d3146619106e540549038 (patch)
treef797712108f295b222da6db803f175a814fa6e28 /src/listeners/guild
parent432b602b5416d61d7f11ade478914fc14a8fc971 (diff)
downloadtanzanite-6d27d53623d84127c43d3146619106e540549038.tar.gz
tanzanite-6d27d53623d84127c43d3146619106e540549038.tar.bz2
tanzanite-6d27d53623d84127c43d3146619106e540549038.zip
cleaned up eval command, ported test command, fixed listeners, fixed workflow, changed args typings
Diffstat (limited to 'src/listeners/guild')
-rw-r--r--src/listeners/guild/syncUnban.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/guild/syncUnban.ts b/src/listeners/guild/syncUnban.ts
index c9ba0cb..389aae6 100644
--- a/src/listeners/guild/syncUnban.ts
+++ b/src/listeners/guild/syncUnban.ts
@@ -9,7 +9,7 @@ export default class SyncUnbanListener extends BushListener {
});
}
- public async exec([ban]: ClientEvents['guildBanRemove']): Promise<void> {
+ public async exec(...[ban]: ClientEvents['guildBanRemove']): Promise<void> {
const bans = await ActivePunishment.findAll({
where: {
user: ban.user,