aboutsummaryrefslogtreecommitdiff
path: root/src/commands/utilities
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-31 22:38:06 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-31 22:38:06 -0400
commitc40a94697d64962edda41345e03fa76f51aa431c (patch)
tree1e258d51d6b19b9918f1d478b3f4c51dca3adc93 /src/commands/utilities
parent901d9dfc8c5d95b8c76519e700c624294d4df787 (diff)
downloadtanzanite-c40a94697d64962edda41345e03fa76f51aa431c.tar.gz
tanzanite-c40a94697d64962edda41345e03fa76f51aa431c.tar.bz2
tanzanite-c40a94697d64962edda41345e03fa76f51aa431c.zip
upgrade typescript, improve workflow, bunch of bug fixes and some other things
Diffstat (limited to 'src/commands/utilities')
-rw-r--r--src/commands/utilities/activity.ts2
-rw-r--r--src/commands/utilities/calculator.ts2
-rw-r--r--src/commands/utilities/decode.ts4
-rw-r--r--src/commands/utilities/hash.ts2
-rw-r--r--src/commands/utilities/price.ts2
-rw-r--r--src/commands/utilities/steal.ts4
-rw-r--r--src/commands/utilities/suicide.ts2
-rw-r--r--src/commands/utilities/uuid.ts2
-rw-r--r--src/commands/utilities/viewRaw.ts4
-rw-r--r--src/commands/utilities/whoHasRole.ts4
-rw-r--r--src/commands/utilities/wolframAlpha.ts4
11 files changed, 16 insertions, 16 deletions
diff --git a/src/commands/utilities/activity.ts b/src/commands/utilities/activity.ts
index 455bbf3..91d6328 100644
--- a/src/commands/utilities/activity.ts
+++ b/src/commands/utilities/activity.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import { DiscordAPIError, Message, VoiceChannel } from 'discord.js';
const activityMap = {
diff --git a/src/commands/utilities/calculator.ts b/src/commands/utilities/calculator.ts
index b32b29b..1df4264 100644
--- a/src/commands/utilities/calculator.ts
+++ b/src/commands/utilities/calculator.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import { MessageEmbed } from 'discord.js';
import { evaluate } from 'mathjs';
diff --git a/src/commands/utilities/decode.ts b/src/commands/utilities/decode.ts
index 6812d91..5ecd6f1 100644
--- a/src/commands/utilities/decode.ts
+++ b/src/commands/utilities/decode.ts
@@ -1,5 +1,5 @@
-import { AllowedMentions, BushCommand, BushMessage } from '@lib';
-import { AkairoMessage } from 'discord-akairo';
+import { AllowedMentions, BushCommand, type BushMessage } from '@lib';
+import { type AkairoMessage } from 'discord-akairo';
import { MessageEmbed } from 'discord.js';
const encodingTypesArray = ['ascii', 'utf8', 'utf-8', 'utf16le', 'ucs2', 'ucs-2', 'base64', 'latin1', 'binary', 'hex'];
diff --git a/src/commands/utilities/hash.ts b/src/commands/utilities/hash.ts
index 646ed28..5b3bcfb 100644
--- a/src/commands/utilities/hash.ts
+++ b/src/commands/utilities/hash.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage } from '@lib';
+import { BushCommand, type BushMessage } from '@lib';
import crypto from 'crypto';
import got from 'got';
diff --git a/src/commands/utilities/price.ts b/src/commands/utilities/price.ts
index a232e56..333bfea 100644
--- a/src/commands/utilities/price.ts
+++ b/src/commands/utilities/price.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage } from '@lib';
+import { BushCommand, type BushMessage } from '@lib';
import { MessageEmbed } from 'discord.js';
import Fuse from 'fuse.js';
import got from 'got';
diff --git a/src/commands/utilities/steal.ts b/src/commands/utilities/steal.ts
index b92a2da..4ee7fb1 100644
--- a/src/commands/utilities/steal.ts
+++ b/src/commands/utilities/steal.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage } from '@lib';
-import { Snowflake } from 'discord-api-types';
+import { BushCommand, type BushMessage } from '@lib';
+import { type Snowflake } from 'discord.js';
export default class StealCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/utilities/suicide.ts b/src/commands/utilities/suicide.ts
index 8d6f002..8050dcb 100644
--- a/src/commands/utilities/suicide.ts
+++ b/src/commands/utilities/suicide.ts
@@ -1,4 +1,4 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage } from '@lib';
+import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
import { MessageEmbed } from 'discord.js';
export default class TemplateCommand extends BushCommand {
diff --git a/src/commands/utilities/uuid.ts b/src/commands/utilities/uuid.ts
index 56566d4..64e5b56 100644
--- a/src/commands/utilities/uuid.ts
+++ b/src/commands/utilities/uuid.ts
@@ -1,4 +1,4 @@
-import { BushCommand, BushMessage } from '@lib';
+import { BushCommand, type BushMessage } from '@lib';
export default class UuidCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/utilities/viewRaw.ts b/src/commands/utilities/viewRaw.ts
index 3667d40..45939b0 100644
--- a/src/commands/utilities/viewRaw.ts
+++ b/src/commands/utilities/viewRaw.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage } from '@lib';
-import { DMChannel, MessageEmbed, NewsChannel, Snowflake, TextChannel } from 'discord.js';
+import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
+import { MessageEmbed, type DMChannel, type NewsChannel, type Snowflake, type TextChannel } from 'discord.js';
export default class ViewRawCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/utilities/whoHasRole.ts b/src/commands/utilities/whoHasRole.ts
index ce7a70e..69285d8 100644
--- a/src/commands/utilities/whoHasRole.ts
+++ b/src/commands/utilities/whoHasRole.ts
@@ -1,5 +1,5 @@
-import { BushCommand, BushMessage, BushSlashMessage, ButtonPaginator } from '@lib';
-import { CommandInteraction, Role, Util } from 'discord.js';
+import { BushCommand, ButtonPaginator, type BushMessage, type BushSlashMessage } from '@lib';
+import { Util, type CommandInteraction, type Role } from 'discord.js';
export default class WhoHasRoleCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/utilities/wolframAlpha.ts b/src/commands/utilities/wolframAlpha.ts
index ea055e8..a2b4036 100644
--- a/src/commands/utilities/wolframAlpha.ts
+++ b/src/commands/utilities/wolframAlpha.ts
@@ -1,5 +1,5 @@
-import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage } from '@lib';
-import { MessageEmbed, MessageOptions } from 'discord.js';
+import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '@lib';
+import { MessageEmbed, type MessageOptions } from 'discord.js';
import WolframAlphaAPI from 'wolfram-alpha-api';
export default class WolframAlphaCommand extends BushCommand {