aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-28 21:51:17 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-28 21:51:17 -0400
commit14eb0e617b084080c4cffc5b781b311c65c5f928 (patch)
tree9aaf1734c1e739814a913afeda40c56b0f84df61 /src/commands
parent03b26d5f00422f3aaddce3db2186765863b1eca0 (diff)
downloadtanzanite-14eb0e617b084080c4cffc5b781b311c65c5f928.tar.gz
tanzanite-14eb0e617b084080c4cffc5b781b311c65c5f928.tar.bz2
tanzanite-14eb0e617b084080c4cffc5b781b311c65c5f928.zip
rebrand v3
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/_fake-command/ironmoon.ts4
-rw-r--r--src/commands/admin/channelPermissions.ts4
-rw-r--r--src/commands/admin/roleAll.ts4
-rw-r--r--src/commands/config/blacklist.ts4
-rw-r--r--src/commands/config/config.ts4
-rw-r--r--src/commands/config/disable.ts6
-rw-r--r--src/commands/config/features.ts4
-rw-r--r--src/commands/config/log.ts4
-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
-rw-r--r--src/commands/fun/coinFlip.ts4
-rw-r--r--src/commands/fun/dice.ts4
-rw-r--r--src/commands/fun/eightBall.ts4
-rw-r--r--src/commands/fun/minesweeper.ts4
-rw-r--r--src/commands/info/avatar.ts4
-rw-r--r--src/commands/info/botInfo.ts4
-rw-r--r--src/commands/info/color.ts4
-rw-r--r--src/commands/info/guildInfo.ts16
-rw-r--r--src/commands/info/help.ts16
-rw-r--r--src/commands/info/icon.ts4
-rw-r--r--src/commands/info/inviteInfo.ts4
-rw-r--r--src/commands/info/links.ts4
-rw-r--r--src/commands/info/ping.ts4
-rw-r--r--src/commands/info/pronouns.ts4
-rw-r--r--src/commands/info/snowflake.ts8
-rw-r--r--src/commands/info/userInfo.ts4
-rw-r--r--src/commands/leveling/leaderboard.ts4
-rw-r--r--src/commands/leveling/level.ts4
-rw-r--r--src/commands/leveling/levelRoles.ts4
-rw-r--r--src/commands/leveling/setLevel.ts4
-rw-r--r--src/commands/leveling/setXp.ts4
-rw-r--r--src/commands/moderation/_activePunishments.ts4
-rw-r--r--src/commands/moderation/ban.ts6
-rw-r--r--src/commands/moderation/block.ts6
-rw-r--r--src/commands/moderation/evidence.ts7
-rw-r--r--src/commands/moderation/hideCase.ts7
-rw-r--r--src/commands/moderation/kick.ts6
-rw-r--r--src/commands/moderation/lockdown.ts4
-rw-r--r--src/commands/moderation/massBan.ts13
-rw-r--r--src/commands/moderation/massEvidence.ts7
-rw-r--r--src/commands/moderation/modlog.ts4
-rw-r--r--src/commands/moderation/mute.ts6
-rw-r--r--src/commands/moderation/myLogs.ts4
-rw-r--r--src/commands/moderation/purge.ts7
-rw-r--r--src/commands/moderation/removeReactionEmoji.ts4
-rw-r--r--src/commands/moderation/role.ts6
-rw-r--r--src/commands/moderation/slowmode.ts4
-rw-r--r--src/commands/moderation/timeout.ts6
-rw-r--r--src/commands/moderation/unban.ts6
-rw-r--r--src/commands/moderation/unblock.ts6
-rw-r--r--src/commands/moderation/unlockdown.ts4
-rw-r--r--src/commands/moderation/unmute.ts6
-rw-r--r--src/commands/moderation/untimeout.ts6
-rw-r--r--src/commands/moderation/warn.ts6
-rw-r--r--src/commands/moulberry-bush/capePermissions.ts4
-rw-r--r--src/commands/moulberry-bush/capes.ts4
-rw-r--r--src/commands/moulberry-bush/giveawayPing.ts4
-rw-r--r--src/commands/moulberry-bush/moulHammer.ts12
-rw-r--r--src/commands/moulberry-bush/neuRepo.ts4
-rw-r--r--src/commands/moulberry-bush/report.ts4
-rw-r--r--src/commands/moulberry-bush/rule.ts4
-rw-r--r--src/commands/moulberry-bush/serverStatus.ts4
-rw-r--r--src/commands/moulberry-bush/solved.ts4
-rw-r--r--src/commands/tickets/ticket-!.ts4
-rw-r--r--src/commands/utilities/_poll.ts4
-rw-r--r--src/commands/utilities/activity.ts8
-rw-r--r--src/commands/utilities/calculator.ts4
-rw-r--r--src/commands/utilities/decode.ts4
-rw-r--r--src/commands/utilities/hash.ts4
-rw-r--r--src/commands/utilities/highlight-!.ts4
-rw-r--r--src/commands/utilities/highlight-add.ts4
-rw-r--r--src/commands/utilities/highlight-block.ts4
-rw-r--r--src/commands/utilities/highlight-clear.ts4
-rw-r--r--src/commands/utilities/highlight-matches.ts4
-rw-r--r--src/commands/utilities/highlight-remove.ts4
-rw-r--r--src/commands/utilities/highlight-show.ts4
-rw-r--r--src/commands/utilities/highlight-unblock.ts4
-rw-r--r--src/commands/utilities/price.ts4
-rw-r--r--src/commands/utilities/remind.ts4
-rw-r--r--src/commands/utilities/reminders.ts4
-rw-r--r--src/commands/utilities/steal.ts4
-rw-r--r--src/commands/utilities/suicide.ts4
-rw-r--r--src/commands/utilities/uuid.ts4
-rw-r--r--src/commands/utilities/viewRaw.ts4
-rw-r--r--src/commands/utilities/whoHasRole.ts4
-rw-r--r--src/commands/utilities/wolframAlpha.ts4
95 files changed, 237 insertions, 234 deletions
diff --git a/src/commands/_fake-command/ironmoon.ts b/src/commands/_fake-command/ironmoon.ts
index cb50c7e..bb4fd88 100644
--- a/src/commands/_fake-command/ironmoon.ts
+++ b/src/commands/_fake-command/ironmoon.ts
@@ -1,6 +1,6 @@
-import { BushCommand, type CommandMessage, type SlashMessage } from '#lib';
+import { BotCommand, type CommandMessage, type SlashMessage } from '#lib';
-export default class IronmoonCommand extends BushCommand {
+export default class IronmoonCommand extends BotCommand {
public constructor() {
super('ironmoon', {
category: 'fake-commands',
diff --git a/src/commands/admin/channelPermissions.ts b/src/commands/admin/channelPermissions.ts
index 0b09e54..e17a85b 100644
--- a/src/commands/admin/channelPermissions.ts
+++ b/src/commands/admin/channelPermissions.ts
@@ -1,6 +1,6 @@
import {
Arg,
- BushCommand,
+ BotCommand,
ButtonPaginator,
clientSendAndPermCheck,
emojis,
@@ -12,7 +12,7 @@ import {
import assert from 'assert/strict';
import { ApplicationCommandOptionType, EmbedBuilder, PermissionFlagsBits } from 'discord.js';
-export default class ChannelPermissionsCommand extends BushCommand {
+export default class ChannelPermissionsCommand extends BotCommand {
public constructor() {
super('channelPermissions', {
aliases: ['channel-perms', 'cperms', 'cperm', 'chanperms', 'chanperm', 'channel-permissions'],
diff --git a/src/commands/admin/roleAll.ts b/src/commands/admin/roleAll.ts
index dda536f..3675891 100644
--- a/src/commands/admin/roleAll.ts
+++ b/src/commands/admin/roleAll.ts
@@ -1,6 +1,6 @@
import {
AllowedMentions,
- BushCommand,
+ BotCommand,
clientSendAndPermCheck,
emojis,
type ArgType,
@@ -10,7 +10,7 @@ import {
import assert from 'assert/strict';
import { ApplicationCommandOptionType, PermissionFlagsBits, type GuildMember } from 'discord.js';
-export default class RoleAllCommand extends BushCommand {
+export default class RoleAllCommand extends BotCommand {
public constructor() {
super('roleAll', {
aliases: ['role-all', 'rall'],
diff --git a/src/commands/config/blacklist.ts b/src/commands/config/blacklist.ts
index a098f9d..5419658 100644
--- a/src/commands/config/blacklist.ts
+++ b/src/commands/config/blacklist.ts
@@ -2,7 +2,7 @@ import {
addOrRemoveFromArray,
AllowedMentions,
Arg,
- BushCommand,
+ BotCommand,
clientSendAndPermCheck,
emojis,
format,
@@ -13,7 +13,7 @@ import {
import assert from 'assert/strict';
import { ApplicationCommandOptionType, GuildMember, PermissionFlagsBits, User } from 'discord.js';
-export default class BlacklistCommand extends BushCommand {
+export default class BlacklistCommand extends BotCommand {
public constructor() {
super('blacklist', {
aliases: ['blacklist', 'unblacklist'],
diff --git a/src/commands/config/config.ts b/src/commands/config/config.ts
index 39a44d1..a37d67c 100644
--- a/src/commands/config/config.ts
+++ b/src/commands/config/config.ts
@@ -1,6 +1,6 @@
import {
addOrRemoveFromArray,
- BushCommand,
+ BotCommand,
clientSendAndPermCheck,
colors,
emojis,
@@ -47,7 +47,7 @@ export type Action = typeof allActions[number];
type SlashArgType = 'ROLE' | 'STRING' | 'CHANNEL' | 'USER';
type BaseSettingTypes = 'string' | 'channel' | 'role' | 'user' | 'custom';
-export default class ConfigCommand extends BushCommand {
+export default class ConfigCommand extends BotCommand {
public constructor() {
super('config', {
aliases: ['config', 'settings', 'setting', 'configure'],
diff --git a/src/commands/config/disable.ts b/src/commands/config/disable.ts
index f9abb4a..a4a876c 100644
--- a/src/commands/config/disable.ts
+++ b/src/commands/config/disable.ts
@@ -2,7 +2,7 @@ import {
addOrRemoveFromArray,
AllowedMentions,
Arg,
- BushCommand,
+ BotCommand,
clientSendAndPermCheck,
emojis,
type ArgType,
@@ -15,7 +15,7 @@ import { default as Fuse } from 'fuse.js';
assert(Fuse);
-export default class DisableCommand extends BushCommand {
+export default class DisableCommand extends BotCommand {
private static blacklistedCommands = ['eval', 'disable'];
public constructor() {
@@ -72,7 +72,7 @@ export default class DisableCommand extends BushCommand {
let action = (args.action ?? message.util?.parsed?.alias ?? 'toggle') as 'disable' | 'enable' | 'toggle';
const global = args.global && message.author.isOwner();
const commandID =
- args.command instanceof BushCommand ? args.command.id : (await Arg.cast('commandAlias', message, args.command))?.id;
+ args.command instanceof BotCommand ? args.command.id : (await Arg.cast('commandAlias', message, args.command))?.id;
if (!commandID) return await message.util.reply(`${emojis.error} Invalid command.`);
diff --git a/src/commands/config/features.ts b/src/commands/config/features.ts
index 0036349..55f99bd 100644
--- a/src/commands/config/features.ts
+++ b/src/commands/config/features.ts
@@ -1,5 +1,5 @@
import {
- BushCommand,
+ BotCommand,
clientSendAndPermCheck,
colors,
emojis,
@@ -20,7 +20,7 @@ import {
type SelectMenuInteraction
} from 'discord.js';
-export default class FeaturesCommand extends BushCommand {
+export default class FeaturesCommand extends BotCommand {
public constructor() {
super('features', {
aliases: ['features'],
diff --git a/src/commands/config/log.ts b/src/commands/config/log.ts
index f79f60e..f058670 100644
--- a/src/commands/config/log.ts
+++ b/src/commands/config/log.ts
@@ -1,5 +1,5 @@
import {
- BushCommand,
+ BotCommand,
clientSendAndPermCheck,
emojis,
guildLogsArr,
@@ -13,7 +13,7 @@ import assert from 'assert/strict';
import { ArgumentGeneratorReturn } from 'discord-akairo';
import { ApplicationCommandOptionType, ChannelType, PermissionFlagsBits } from 'discord.js';
-export default class LogCommand extends BushCommand {
+export default class LogCommand extends BotCommand {
public constructor() {
super('log', {
aliases: ['log', 'logging'],
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,