disable several unused commands
parent
f64a13b06e
commit
d96b7a6011
|
@ -1,3 +1,7 @@
|
||||||
|
/**
|
||||||
|
* This file was not modified since this command is not used.
|
||||||
|
*/
|
||||||
|
|
||||||
import PhoneNumber from 'awesome-phonenumber';
|
import PhoneNumber from 'awesome-phonenumber';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import { Message, TextChannel } from 'eris';
|
import { Message, TextChannel } from 'eris';
|
||||||
|
@ -12,7 +16,7 @@ export default class Callback extends Command {
|
||||||
this.aliases = ['cb'];
|
this.aliases = ['cb'];
|
||||||
this.permissions = 0;
|
this.permissions = 0;
|
||||||
this.guildOnly = false;
|
this.guildOnly = false;
|
||||||
this.enabled = true;
|
this.enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async run(message: Message, args: string[]) {
|
public async run(message: Message, args: string[]) {
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
/**
|
||||||
|
* Disabled this command. 2/11/23
|
||||||
|
*/
|
||||||
/* eslint-disable prefer-destructuring */
|
/* eslint-disable prefer-destructuring */
|
||||||
import { Activity, Member, Message } from 'eris';
|
import { Activity, Member, Message } from 'eris';
|
||||||
import { Client, Command, RichEmbed } from '../class';
|
import { Client, Command, RichEmbed } from '../class';
|
||||||
|
@ -20,7 +23,7 @@ export default class Game extends Command {
|
||||||
this.permissions = 0;
|
this.permissions = 0;
|
||||||
this.aliases = ['activity'];
|
this.aliases = ['activity'];
|
||||||
this.guildOnly = true;
|
this.guildOnly = true;
|
||||||
this.enabled = true;
|
this.enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async run(message: Message, args: string[]) {
|
public async run(message: Message, args: string[]) {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/**
|
||||||
|
* Disabled command due to no use 2/11/23
|
||||||
|
*/
|
||||||
|
|
||||||
import { Message } from 'eris';
|
import { Message } from 'eris';
|
||||||
import { Client, Command } from '../class';
|
import { Client, Command } from '../class';
|
||||||
import { Misc as MiscPBXActions } from '../pbx';
|
import { Misc as MiscPBXActions } from '../pbx';
|
||||||
|
@ -10,7 +14,7 @@ export default class Intercom extends Command {
|
||||||
this.usage = `${this.client.config.prefix}intercom <extension> <text>`;
|
this.usage = `${this.client.config.prefix}intercom <extension> <text>`;
|
||||||
this.permissions = 1;
|
this.permissions = 1;
|
||||||
this.guildOnly = true;
|
this.guildOnly = true;
|
||||||
this.enabled = true;
|
this.enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async run(message: Message, args: string[]) {
|
public async run(message: Message, args: string[]) {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/**
|
||||||
|
* Disabled as this command is no longer used in practice. 2/11/23
|
||||||
|
*/
|
||||||
|
|
||||||
/* eslint-disable default-case */
|
/* eslint-disable default-case */
|
||||||
import jwt from 'jsonwebtoken';
|
import jwt from 'jsonwebtoken';
|
||||||
import { Message } from 'eris';
|
import { Message } from 'eris';
|
||||||
|
@ -12,7 +16,7 @@ export default class Offer extends Command {
|
||||||
this.permissions = 4;
|
this.permissions = 4;
|
||||||
this.aliases = ['qualify'];
|
this.aliases = ['qualify'];
|
||||||
this.guildOnly = true;
|
this.guildOnly = true;
|
||||||
this.enabled = true;
|
this.enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async run(message: Message, args: string[]) {
|
public async run(message: Message, args: string[]) {
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { createPaginationEmbed } from 'eris-pagination';
|
||||||
import { promisify } from 'util';
|
import { promisify } from 'util';
|
||||||
import axios, { AxiosError, AxiosResponse } from 'axios';
|
import axios, { AxiosError, AxiosResponse } from 'axios';
|
||||||
import { Message } from 'eris';
|
import { Message } from 'eris';
|
||||||
import { Client, Command, RichEmbed } from '../class';
|
import { Client, CmdContext, Command, RichEmbed } from '../class';
|
||||||
|
|
||||||
interface TLSResponse {
|
interface TLSResponse {
|
||||||
status: boolean,
|
status: boolean,
|
||||||
|
@ -65,7 +65,7 @@ export default class SiteInfo extends Command {
|
||||||
this.enabled = true;
|
this.enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async run(message: Message, args: string[]) {
|
public async run(ctx: CmdContext) {
|
||||||
try {
|
try {
|
||||||
return false;
|
return false;
|
||||||
if (!args[0]) return this.client.commands.get('help').run(message, [this.name]);
|
if (!args[0]) return this.client.commands.get('help').run(message, [this.name]);
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/**
|
||||||
|
* Disabled command 2/11/23 due to no use
|
||||||
|
*/
|
||||||
|
|
||||||
import { Message, GuildTextableChannel } from 'eris';
|
import { Message, GuildTextableChannel } from 'eris';
|
||||||
import moment, { unitOfTime } from 'moment';
|
import moment, { unitOfTime } from 'moment';
|
||||||
import { Client, Command } from '../class';
|
import { Client, Command } from '../class';
|
||||||
|
@ -12,7 +16,7 @@ export default class Slowmode extends Command {
|
||||||
this.usage = 'slowmode <length[unit]>';
|
this.usage = 'slowmode <length[unit]>';
|
||||||
this.permissions = 1;
|
this.permissions = 1;
|
||||||
this.guildOnly = true;
|
this.guildOnly = true;
|
||||||
this.enabled = true;
|
this.enabled = false;
|
||||||
this.regex = /[a-z]+|[^a-z]+/gi;
|
this.regex = /[a-z]+|[^a-z]+/gi;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/**
|
||||||
|
* disabled command 2/11/23
|
||||||
|
*/
|
||||||
|
|
||||||
import { Message } from 'eris';
|
import { Message } from 'eris';
|
||||||
import { apply as Apply } from '.';
|
import { apply as Apply } from '.';
|
||||||
import { Client, Command } from '../class';
|
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.usage = `${this.client.config.prefix}staff-self-serv ca`;
|
||||||
this.permissions = 1;
|
this.permissions = 1;
|
||||||
this.guildOnly = false;
|
this.guildOnly = false;
|
||||||
this.enabled = true;
|
this.enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async run(message: Message) {
|
public async run(message: Message) {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/**
|
||||||
|
* disabled due to no use 2/11/23
|
||||||
|
*/
|
||||||
|
|
||||||
import { randomBytes } from 'crypto';
|
import { randomBytes } from 'crypto';
|
||||||
import { Message, TextChannel } from 'eris';
|
import { Message, TextChannel } from 'eris';
|
||||||
import { Client, Command, LocalStorage } from '../class';
|
import { Client, Command, LocalStorage } from '../class';
|
||||||
|
@ -11,7 +15,7 @@ export default class StoreMessages extends Command {
|
||||||
this.aliases = ['sm'];
|
this.aliases = ['sm'];
|
||||||
this.permissions = 7;
|
this.permissions = 7;
|
||||||
this.guildOnly = true;
|
this.guildOnly = true;
|
||||||
this.enabled = true;
|
this.enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async run(message: Message, args: string[]) {
|
public async run(message: Message, args: string[]) {
|
||||||
|
|
Loading…
Reference in New Issue