diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-05-25 19:03:21 +0000 |
---|---|---|
committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-05-25 19:03:21 +0000 |
commit | 93ce256f698a8c1d6d0bd4f33f258b39d7f0c748 (patch) | |
tree | 0085cf80a0846594d1d6cea93210d30e2508f851 /src/tasks | |
parent | df172e0b0d4180d025e19b80f4f091b01401e0d1 (diff) | |
download | tanzanite-93ce256f698a8c1d6d0bd4f33f258b39d7f0c748.tar.gz tanzanite-93ce256f698a8c1d6d0bd4f33f258b39d7f0c748.tar.bz2 tanzanite-93ce256f698a8c1d6d0bd4f33f258b39d7f0c748.zip |
Automatically format code
Diffstat (limited to 'src/tasks')
-rw-r--r-- | src/tasks/Unban.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tasks/Unban.ts b/src/tasks/Unban.ts index a59933a..c6f9a01 100644 --- a/src/tasks/Unban.ts +++ b/src/tasks/Unban.ts @@ -1,15 +1,15 @@ -import chalk from "chalk"; -import { DiscordAPIError } from "discord.js"; -import { Op } from "sequelize"; -import { BotTask } from "../lib/extensions/BotTask" -import { Ban } from "../lib/models"; +import chalk from 'chalk'; +import { DiscordAPIError } from 'discord.js'; +import { Op } from 'sequelize'; +import { BotTask } from '../lib/extensions/BotTask'; +import { Ban } from '../lib/models'; export default class UnbanTask extends BotTask { constructor() { super('unban', { delay: 30_000, // 1/2 min runOnStart: true - }) + }); } async exec(): Promise<void> { const rows = await Ban.findAll({ @@ -46,4 +46,4 @@ export default class UnbanTask extends BotTask { this.client.logger.verbose(chalk.cyan('Unbanned user')); } } -}
\ No newline at end of file +} |