aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-03-08 19:37:57 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-03-08 19:37:57 -0500
commitb86a05f4b21c62e18bf669e00646b715a409bdb0 (patch)
tree6d3623c45fd321ade5f8bbf6de37385f43123759 /src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
parent57e47b8b84dee001c65c1ab43833c09fef056a4b (diff)
downloadtanzanite-b86a05f4b21c62e18bf669e00646b715a409bdb0.tar.gz
tanzanite-b86a05f4b21c62e18bf669e00646b715a409bdb0.tar.bz2
tanzanite-b86a05f4b21c62e18bf669e00646b715a409bdb0.zip
feat: misc changes for extentions
Diffstat (limited to 'src/lib/extensions/discord.js/BushSelectMenuInteraction.ts')
-rw-r--r--src/lib/extensions/discord.js/BushSelectMenuInteraction.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts b/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
index e5f84b4..35e6301 100644
--- a/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
+++ b/src/lib/extensions/discord.js/BushSelectMenuInteraction.ts
@@ -15,7 +15,7 @@ export class BushSelectMenuInteraction<Cached extends CacheType = CacheType> ext
}
}
-export interface BushSelectMenuInteraction<Cached extends CacheType = CacheType> {
+export interface BushSelectMenuInteraction<Cached extends CacheType = CacheType> extends SelectMenuInteraction<Cached> {
get channel(): CacheTypeReducer<
Cached,
BushGuildTextBasedChannel | null,
@@ -24,4 +24,7 @@ export interface BushSelectMenuInteraction<Cached extends CacheType = CacheType>
BushTextBasedChannel | null
>;
get guild(): CacheTypeReducer<Cached, BushGuild, null>;
+ inGuild(): this is BushSelectMenuInteraction<'raw' | 'cached'>;
+ inCachedGuild(): this is BushSelectMenuInteraction<'cached'>;
+ inRawGuild(): this is BushSelectMenuInteraction<'raw'>;
}