@somehiddenkey/discord-command-utils 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@somehiddenkey/discord-command-utils",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "A utility library for building Discord bot commands using discord.js",
5
5
  "author": {
6
6
  "email": "k3y.throwaway@gmail.com",
@@ -5,7 +5,7 @@ import LocalConfig from "../Configs/LocalConfig.js";
5
5
  import consola from "consola";
6
6
  import CommandError from "./CommandError.js";
7
7
  import RestCommands from './RestCommands.js';
8
- import pkg from 'discord.js';
8
+ import pkg, { ChannelType } from 'discord.js';
9
9
  const {
10
10
  Interaction: DiscordBaseInteraction,
11
11
  OmitPartialGroupDMChannel,
@@ -1,6 +1,6 @@
1
1
  import GlobalConfig from "../Configs/GlobalConfig.js";
2
2
  import LocalConfig from "../Configs/LocalConfig.js";
3
- import { REST } from "discord.js";
3
+ import { REST, Routes } from "discord.js";
4
4
 
5
5
  export default class RestCommands {
6
6
  #commands = new Map();
@@ -1,4 +1,4 @@
1
- import { BaseInteraction } from "discord.js";
1
+ import { BaseInteraction, PermissionsBitField } from "discord.js";
2
2
  import { Modlevel } from "./enums.js";
3
3
 
4
4