aboutsummaryrefslogtreecommitdiff
path: root/src/tasks/Unban.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/tasks/Unban.ts')
-rw-r--r--src/tasks/Unban.ts14
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
+}