diff --git a/src/commands/callback.ts b/src/commands/callback.ts index 9556f65..91e8525 100644 --- a/src/commands/callback.ts +++ b/src/commands/callback.ts @@ -1,3 +1,7 @@ +/** + * This file was not modified since this command is not used. + */ + import PhoneNumber from 'awesome-phonenumber'; import axios from 'axios'; import { Message, TextChannel } from 'eris'; @@ -12,7 +16,7 @@ export default class Callback extends Command { this.aliases = ['cb']; this.permissions = 0; this.guildOnly = false; - this.enabled = true; + this.enabled = false; } public async run(message: Message, args: string[]) { diff --git a/src/commands/game.ts b/src/commands/game.ts index 733f122..0e12dfa 100644 --- a/src/commands/game.ts +++ b/src/commands/game.ts @@ -1,3 +1,6 @@ +/** + * Disabled this command. 2/11/23 + */ /* eslint-disable prefer-destructuring */ import { Activity, Member, Message } from 'eris'; import { Client, Command, RichEmbed } from '../class'; @@ -20,7 +23,7 @@ export default class Game extends Command { this.permissions = 0; this.aliases = ['activity']; this.guildOnly = true; - this.enabled = true; + this.enabled = false; } public async run(message: Message, args: string[]) { diff --git a/src/commands/intercom.ts b/src/commands/intercom.ts index f5a5ea2..974c7d8 100644 --- a/src/commands/intercom.ts +++ b/src/commands/intercom.ts @@ -1,3 +1,7 @@ +/** + * Disabled command due to no use 2/11/23 + */ + import { Message } from 'eris'; import { Client, Command } from '../class'; import { Misc as MiscPBXActions } from '../pbx'; @@ -10,7 +14,7 @@ export default class Intercom extends Command { this.usage = `${this.client.config.prefix}intercom `; this.permissions = 1; this.guildOnly = true; - this.enabled = true; + this.enabled = false; } public async run(message: Message, args: string[]) { diff --git a/src/commands/offer.ts b/src/commands/offer.ts index f4118f4..8183e2b 100644 --- a/src/commands/offer.ts +++ b/src/commands/offer.ts @@ -1,3 +1,7 @@ +/** + * Disabled as this command is no longer used in practice. 2/11/23 + */ + /* eslint-disable default-case */ import jwt from 'jsonwebtoken'; import { Message } from 'eris'; @@ -12,7 +16,7 @@ export default class Offer extends Command { this.permissions = 4; this.aliases = ['qualify']; this.guildOnly = true; - this.enabled = true; + this.enabled = false; } public async run(message: Message, args: string[]) { diff --git a/src/commands/site.ts b/src/commands/site.ts index 3d71e28..09cc2b5 100644 --- a/src/commands/site.ts +++ b/src/commands/site.ts @@ -8,7 +8,7 @@ import { createPaginationEmbed } from 'eris-pagination'; import { promisify } from 'util'; import axios, { AxiosError, AxiosResponse } from 'axios'; import { Message } from 'eris'; -import { Client, Command, RichEmbed } from '../class'; +import { Client, CmdContext, Command, RichEmbed } from '../class'; interface TLSResponse { status: boolean, @@ -65,7 +65,7 @@ export default class SiteInfo extends Command { this.enabled = true; } - public async run(message: Message, args: string[]) { + public async run(ctx: CmdContext) { try { return false; if (!args[0]) return this.client.commands.get('help').run(message, [this.name]); diff --git a/src/commands/slowmode.ts b/src/commands/slowmode.ts index 201638e..730057d 100644 --- a/src/commands/slowmode.ts +++ b/src/commands/slowmode.ts @@ -1,3 +1,7 @@ +/** + * Disabled command 2/11/23 due to no use + */ + import { Message, GuildTextableChannel } from 'eris'; import moment, { unitOfTime } from 'moment'; import { Client, Command } from '../class'; @@ -12,7 +16,7 @@ export default class Slowmode extends Command { this.usage = 'slowmode '; this.permissions = 1; this.guildOnly = true; - this.enabled = true; + this.enabled = false; this.regex = /[a-z]+|[^a-z]+/gi; } diff --git a/src/commands/sss_create_account.ts b/src/commands/sss_create_account.ts index 317424b..fa6e7cf 100644 --- a/src/commands/sss_create_account.ts +++ b/src/commands/sss_create_account.ts @@ -1,3 +1,7 @@ +/** + * disabled command 2/11/23 + */ + import { Message } from 'eris'; import { apply as Apply } from '.'; import { Client, Command } from '../class'; @@ -12,7 +16,7 @@ export default class SSS_Create_Account extends Command { this.usage = `${this.client.config.prefix}staff-self-serv ca`; this.permissions = 1; this.guildOnly = false; - this.enabled = true; + this.enabled = false; } public async run(message: Message) { diff --git a/src/commands/storemessages.ts b/src/commands/storemessages.ts index 8362c12..40a2553 100644 --- a/src/commands/storemessages.ts +++ b/src/commands/storemessages.ts @@ -1,3 +1,7 @@ +/** + * disabled due to no use 2/11/23 + */ + import { randomBytes } from 'crypto'; import { Message, TextChannel } from 'eris'; import { Client, Command, LocalStorage } from '../class'; @@ -11,7 +15,7 @@ export default class StoreMessages extends Command { this.aliases = ['sm']; this.permissions = 7; this.guildOnly = true; - this.enabled = true; + this.enabled = false; } public async run(message: Message, args: string[]) {