diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-19 16:43:37 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-19 16:43:37 -0400 |
commit | ea64ebfff9aae32deb036643422d3427959dcd24 (patch) | |
tree | 5ab83558642bad282515837424637070f547a05e /src/tasks/unban.ts | |
parent | d055e0dbb86ef7fd4ee96a1531b51181e825fb4b (diff) | |
download | tanzanite-ea64ebfff9aae32deb036643422d3427959dcd24.tar.gz tanzanite-ea64ebfff9aae32deb036643422d3427959dcd24.tar.bz2 tanzanite-ea64ebfff9aae32deb036643422d3427959dcd24.zip |
feat(*): A bunch of stuff
- Remade logging
- updated dependencies
- started adding custom crap to the command handler
- added emojis to stuff
- can't remeber other stuff
Note: this is currently broken
BREAKING CHANGE:
Diffstat (limited to 'src/tasks/unban.ts')
-rw-r--r-- | src/tasks/unban.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tasks/unban.ts b/src/tasks/unban.ts index 564a2a3..6e06db8 100644 --- a/src/tasks/unban.ts +++ b/src/tasks/unban.ts @@ -1,4 +1,3 @@ -import chalk from 'chalk'; import { DiscordAPIError } from 'discord.js'; import { Op } from 'sequelize'; import { BushTask } from '../lib/extensions/BushTask'; @@ -23,7 +22,7 @@ export default class UnbanTask extends BushTask { ] } }); - this.client.logger.verbose(chalk.cyan(`Queried bans, found ${rows.length} expired bans.`)); + this.client.logger.verbose(`UnbanTask`, `Queried bans, found <<${rows.length}>> expired bans.`); for (const row of rows) { const guild = this.client.guilds.cache.get(row.guild); if (!guild) { @@ -38,7 +37,7 @@ export default class UnbanTask extends BushTask { } else throw e; } await row.destroy(); - this.client.logger.verbose(chalk.cyan('Unbanned user')); + this.client.logger.verbose(`UnbanTask`, `Unbanned ${row.user}`); } } } |