generated from sapphiredev/sapphire-template
-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jeroen Claassens <support@favware.tech> Co-authored-by: A. Román <kyradiscord@gmail.com> Co-authored-by: Hezekiah Hendry <hezekiah.hendry@gmail.com> Co-authored-by: Kaname <56084970+kaname-png@users.noreply.github.com>
- Loading branch information
1 parent
23b8fea
commit 3d4d96b
Showing
23 changed files
with
833 additions
and
689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
packages/discord.js-utilities/src/lib/MessagePrompter/constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import type { ArgumentTypes } from '@sapphire/utilities'; | ||
import type { CategoryChannel, PartialTextBasedChannelFields, StoreChannel } from 'discord.js'; | ||
import type { CategoryChannel, PartialTextBasedChannelFields } from 'discord.js'; | ||
import type { ChannelTypes, VoiceBasedChannelTypes } from '../utility-types'; | ||
|
||
/** | ||
* A type to extend multiple discord types and simplify usage in {@link MessagePrompter} | ||
*/ | ||
export type MessagePrompterMessage = Omit<ArgumentTypes<PartialTextBasedChannelFields['send']>[0], 'flags'>; | ||
export type MessagePrompterMessage = ArgumentTypes<PartialTextBasedChannelFields['send']>[0]; | ||
|
||
export type MessagePrompterChannelTypes = Exclude<ChannelTypes, VoiceBasedChannelTypes | StoreChannel | CategoryChannel>; | ||
export type MessagePrompterChannelTypes = Exclude<ChannelTypes, VoiceBasedChannelTypes | CategoryChannel>; |
Oops, something went wrong.