mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-12-19 11:08:04 +01:00
refactor(arabot): remove ts-ignore for tasks as it has been fixed
This commit is contained in:
@@ -128,7 +128,6 @@ export class VerificationJoinVCListener extends Listener {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
// Start 15-minute timer if verifier does not join
|
// Start 15-minute timer if verifier does not join
|
||||||
// @ts-ignore
|
|
||||||
this.container.tasks.create('verifyTimeout', {
|
this.container.tasks.create('verifyTimeout', {
|
||||||
channelId: channel.id,
|
channelId: channel.id,
|
||||||
userId: member.id,
|
userId: member.id,
|
||||||
|
|||||||
@@ -88,7 +88,6 @@ export class VerificationLeaveVCListener extends Listener {
|
|||||||
// Creates the length of the time for the ban
|
// Creates the length of the time for the ban
|
||||||
const banLength = fibonacci(incompleteCount) * 3600_000;
|
const banLength = fibonacci(incompleteCount) * 3600_000;
|
||||||
|
|
||||||
// @ts-ignore
|
|
||||||
this.container.tasks.create('verifyUnblock', {
|
this.container.tasks.create('verifyUnblock', {
|
||||||
userId: user.id,
|
userId: user.id,
|
||||||
guildId: guild.id,
|
guildId: guild.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user