From ea64ebfff9aae32deb036643422d3427959dcd24 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sat, 19 Jun 2021 16:43:37 -0400 Subject: 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: --- src/tasks/unban.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/tasks/unban.ts') 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}`); } } } -- cgit