aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-01 20:37:34 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-01 20:37:34 -0400
commit2b06a59c57fdf7aad217d63db875cdb3d8868036 (patch)
tree76fc9ff0f4217c5c4c3a37291dbb8e589da25bcc /src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts
parentad26ae36bc57ad4fb77c6c3c3e86eb3303f09110 (diff)
downloadtanzanite-2b06a59c57fdf7aad217d63db875cdb3d8868036.tar.gz
tanzanite-2b06a59c57fdf7aad217d63db875cdb3d8868036.tar.bz2
tanzanite-2b06a59c57fdf7aad217d63db875cdb3d8868036.zip
don't judge me part 2 & fix esbuild with eval command
Diffstat (limited to 'src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts')
-rw-r--r--src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts b/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts
new file mode 100644
index 0000000..517935d
--- /dev/null
+++ b/src/lib/extensions/discord.js/BushApplicationCommandPermissionsManager.ts
@@ -0,0 +1,24 @@
+import {
+ ApplicationCommand,
+ ApplicationCommandManager,
+ ApplicationCommandPermissionsManager,
+ GuildApplicationCommandManager
+} from 'discord.js';
+import { BushClient } from '../discord-akairo/BushClient';
+import { BushApplicationCommand } from './BushApplicationCommand';
+import { BushApplicationCommandManager } from './BushApplicationCommandManager';
+import { BushGuildApplicationCommandManager } from './BushGuildApplicationCommandManager';
+
+export class BushApplicationCommandPermissionsManager<
+ BaseOptions,
+ FetchSingleOptions,
+ GuildType,
+ CommandIDType
+> extends ApplicationCommandPermissionsManager<BaseOptions, FetchSingleOptions, GuildType, CommandIDType> {
+ public client: BushClient;
+ public manager: BushApplicationCommandManager | BushGuildApplicationCommandManager | BushApplicationCommand;
+
+ public constructor(manager: ApplicationCommandManager | GuildApplicationCommandManager | ApplicationCommand) {
+ super(manager);
+ }
+}