aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev')
-rw-r--r--src/commands/dev/__template.ts4
-rw-r--r--src/commands/dev/dm.ts4
-rw-r--r--src/commands/dev/eval.ts10
-rw-r--r--src/commands/dev/javascript.ts4
-rw-r--r--src/commands/dev/reload.ts4
-rw-r--r--src/commands/dev/say.ts4
-rw-r--r--src/commands/dev/servers.ts4
-rw-r--r--src/commands/dev/sh.ts4
-rw-r--r--src/commands/dev/superUser.ts4
-rw-r--r--src/commands/dev/syncAutomod.ts4
-rw-r--r--src/commands/dev/test.ts4
11 files changed, 25 insertions, 25 deletions
diff --git a/src/commands/dev/__template.ts b/src/commands/dev/__template.ts
index df4d146..fbb88ac 100644
--- a/src/commands/dev/__template.ts
+++ b/src/commands/dev/__template.ts
@@ -1,5 +1,5 @@
import {
- BushCommand,
+ BotCommand,
clientSendAndPermCheck,
emojis,
type ArgType,
@@ -9,7 +9,7 @@ import {
} from '#lib';
import { ApplicationCommandOptionType } from 'discord.js';
-export default class TemplateCommand extends BushCommand {
+export default class TemplateCommand extends BotCommand {
public constructor() {
super('template', {
aliases: ['template'],
diff --git a/src/commands/dev/dm.ts b/src/commands/dev/dm.ts
index c1340b1..e51651e 100644
--- a/src/commands/dev/dm.ts
+++ b/src/commands/dev/dm.ts
@@ -1,7 +1,7 @@
-import { BushCommand, clientSendAndPermCheck, emojis, format, type ArgType, type CommandMessage, type SlashMessage } from '#lib';
+import { BotCommand, clientSendAndPermCheck, emojis, format, type ArgType, type CommandMessage, type SlashMessage } from '#lib';
import { ApplicationCommandOptionType } from 'discord.js';
-export default class DMCommand extends BushCommand {
+export default class DMCommand extends BotCommand {
public constructor() {
super('dm', {
aliases: ['dm'],
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts
index dd21454..3929f99 100644
--- a/src/commands/dev/eval.ts
+++ b/src/commands/dev/eval.ts
@@ -2,10 +2,10 @@
import {
ActivePunishment,
assertAll,
- BushCommand,
- BushInspectOptions,
+ BotCommand,
CodeBlockLang,
colors,
+ CustomInspectOptions,
emojis,
getMethods,
Global,
@@ -56,9 +56,9 @@ const { transpile } = ts,
/* eslint-enable @typescript-eslint/no-unused-vars */
// prettier-ignore
-assertAll(ActivePunishment, BushCommand, Global, Guild, Level, ModLog, Shared, StickyRole, Snowflake_, canvas, exec, ActionRow, ButtonComponent, ButtonInteraction, Collection, Collector, CommandInteraction, ContextMenuCommandInteraction, DMChannel, Embed, Emoji, InteractionCollector, Message, Attachment, MessageCollector, OAuth2Scopes, PermissionFlagsBits, PermissionsBitField, ReactionCollector, SelectMenuComponent, path, ts, fileURLToPath, promisify, assert, transpile, sh, SnowflakeUtil, __dirname);
+assertAll(ActivePunishment, BotCommand, Global, Guild, Level, ModLog, Shared, StickyRole, Snowflake_, canvas, exec, ActionRow, ButtonComponent, ButtonInteraction, Collection, Collector, CommandInteraction, ContextMenuCommandInteraction, DMChannel, Embed, Emoji, InteractionCollector, Message, Attachment, MessageCollector, OAuth2Scopes, PermissionFlagsBits, PermissionsBitField, ReactionCollector, SelectMenuComponent, path, ts, fileURLToPath, promisify, assert, transpile, sh, SnowflakeUtil, __dirname);
-export default class EvalCommand extends BushCommand {
+export default class EvalCommand extends BotCommand {
public constructor() {
super('eval', {
aliases: ['eval', 'ev', 'evaluate'],
@@ -316,7 +316,7 @@ export default class EvalCommand extends BushCommand {
}
}
-type CodeBlockOptions = BushInspectOptions & { inspectStrings?: boolean };
+type CodeBlockOptions = CustomInspectOptions & { inspectStrings?: boolean };
interface CodeBlockCustomOptions extends CodeBlockOptions {
prototype?: boolean;
methods?: boolean;
diff --git a/src/commands/dev/javascript.ts b/src/commands/dev/javascript.ts
index 12ad6f7..43ccf94 100644
--- a/src/commands/dev/javascript.ts
+++ b/src/commands/dev/javascript.ts
@@ -1,5 +1,5 @@
import {
- BushCommand,
+ BotCommand,
clientSendAndPermCheck,
colors,
emojis,
@@ -13,7 +13,7 @@ import { ApplicationCommandOptionType, EmbedBuilder } from 'discord.js';
import { VM } from 'vm2';
assert(VM);
-export default class JavascriptCommand extends BushCommand {
+export default class JavascriptCommand extends BotCommand {
public constructor() {
super('javascript', {
aliases: ['javascript', 'js'],
diff --git a/src/commands/dev/reload.ts b/src/commands/dev/reload.ts
index 8125015..2d5b9d9 100644
--- a/src/commands/dev/reload.ts
+++ b/src/commands/dev/reload.ts
@@ -1,6 +1,6 @@
-import { BushCommand, clientSendAndPermCheck, emojis, formatError, shell, type CommandMessage, type SlashMessage } from '#lib';
+import { BotCommand, clientSendAndPermCheck, emojis, formatError, shell, type CommandMessage, type SlashMessage } from '#lib';
-export default class ReloadCommand extends BushCommand {
+export default class ReloadCommand extends BotCommand {
public constructor() {
super('reload', {
aliases: ['reload'],
diff --git a/src/commands/dev/say.ts b/src/commands/dev/say.ts
index c7b3c40..22ad9ba 100644
--- a/src/commands/dev/say.ts
+++ b/src/commands/dev/say.ts
@@ -1,7 +1,7 @@
-import { AllowedMentions, BushCommand, emojis, type ArgType, type CommandMessage, type SlashMessage } from '#lib';
+import { AllowedMentions, BotCommand, emojis, type ArgType, type CommandMessage, type SlashMessage } from '#lib';
import { ApplicationCommandOptionType } from 'discord.js';
-export default class SayCommand extends BushCommand {
+export default class SayCommand extends BotCommand {
public constructor() {
super('say', {
aliases: ['say'],
diff --git a/src/commands/dev/servers.ts b/src/commands/dev/servers.ts
index ab66f1c..6bba93c 100644
--- a/src/commands/dev/servers.ts
+++ b/src/commands/dev/servers.ts
@@ -1,5 +1,5 @@
import {
- BushCommand,
+ BotCommand,
ButtonPaginator,
chunk,
clientSendAndPermCheck,
@@ -11,7 +11,7 @@ import {
import { stripIndent } from '#tags';
import { type APIEmbed, type Guild } from 'discord.js';
-export default class ServersCommand extends BushCommand {
+export default class ServersCommand extends BotCommand {
public constructor() {
super('servers', {
aliases: ['servers', 'guilds'],
diff --git a/src/commands/dev/sh.ts b/src/commands/dev/sh.ts
index 56a3b69..2d2a404 100644
--- a/src/commands/dev/sh.ts
+++ b/src/commands/dev/sh.ts
@@ -1,4 +1,4 @@
-import { ArgType, BushCommand, colors, emojis, formatError, type CommandMessage, type SlashMessage } from '#lib';
+import { ArgType, BotCommand, colors, emojis, formatError, type CommandMessage, type SlashMessage } from '#lib';
import assert from 'assert/strict';
import chalk from 'chalk';
import { exec } from 'child_process';
@@ -15,7 +15,7 @@ const clean = (text: string | any) => {
} else return text;
};
-export default class ShCommand extends BushCommand {
+export default class ShCommand extends BotCommand {
public constructor() {
super('sh', {
aliases: ['sh', 'shell', 'cmd'],
diff --git a/src/commands/dev/superUser.ts b/src/commands/dev/superUser.ts
index 24e8c9a..6a034bc 100644
--- a/src/commands/dev/superUser.ts
+++ b/src/commands/dev/superUser.ts
@@ -1,7 +1,7 @@
-import { BushCommand, clientSendAndPermCheck, emojis, format, type ArgType, type CommandMessage } from '#lib';
+import { BotCommand, clientSendAndPermCheck, emojis, format, type ArgType, type CommandMessage } from '#lib';
import { type ArgumentGeneratorReturn, type ArgumentTypeCasterReturn } from 'discord-akairo';
-export default class SuperUserCommand extends BushCommand {
+export default class SuperUserCommand extends BotCommand {
public constructor() {
super('superUser', {
aliases: ['super-user', 'su'],
diff --git a/src/commands/dev/syncAutomod.ts b/src/commands/dev/syncAutomod.ts
index d0fc5e5..7a0fb58 100644
--- a/src/commands/dev/syncAutomod.ts
+++ b/src/commands/dev/syncAutomod.ts
@@ -1,8 +1,8 @@
-import { BushCommand, clientSendAndPermCheck, emojis, Shared, type CommandMessage, type SlashMessage } from '#lib';
+import { BotCommand, clientSendAndPermCheck, emojis, Shared, type CommandMessage, type SlashMessage } from '#lib';
import typescript from 'typescript';
import { NodeVM } from 'vm2';
-export default class SyncAutomodCommand extends BushCommand {
+export default class SyncAutomodCommand extends BotCommand {
public constructor() {
super('syncAutomod', {
aliases: ['sync-automod'],
diff --git a/src/commands/dev/test.ts b/src/commands/dev/test.ts
index 0606497..cc32657 100644
--- a/src/commands/dev/test.ts
+++ b/src/commands/dev/test.ts
@@ -1,5 +1,5 @@
import {
- BushCommand,
+ BotCommand,
ButtonPaginator,
clientSendAndPermCheck,
colors,
@@ -22,7 +22,7 @@ import badLinksSecretArray from '../../../lib/badlinks-secret.js';
import badLinksArray from '../../../lib/badlinks.js';
import badWords from '../../../lib/badwords.js';
-export default class TestCommand extends BushCommand {
+export default class TestCommand extends BotCommand {
public constructor() {
super('test', {
aliases: ['test'],