Class: PluginPatternCommandsMessageParseListener
Extends
Listener
<typeofEvents.PreMessageParsed
>
Constructors
new PluginPatternCommandsMessageParseListener()
new PluginPatternCommandsMessageParseListener(
context
:LoaderContext
):PluginPatternCommandsMessageParseListener
Parameters
Parameter | Type |
---|---|
context | LoaderContext |
Returns
PluginPatternCommandsMessageParseListener
Overrides
Listener<typeof Events.PreMessageParsed>.constructor
Defined in
listeners/PluginMessageParse.ts:10
Properties
requiredPermissions
private
readonly
requiredPermissions:Readonly
<BitField
<"CreateInstantInvite"
|"KickMembers"
|"BanMembers"
|"Administrator"
|"ManageChannels"
|"ManageGuild"
|"AddReactions"
|"ViewAuditLog"
|"PrioritySpeaker"
|"Stream"
|"ViewChannel"
|"SendMessages"
|"SendTTSMessages"
|"ManageMessages"
|"EmbedLinks"
|"AttachFiles"
|"ReadMessageHistory"
|"MentionEveryone"
|"UseExternalEmojis"
|"ViewGuildInsights"
|"Connect"
|"Speak"
|"MuteMembers"
|"DeafenMembers"
|"MoveMembers"
|"UseVAD"
|"ChangeNickname"
|"ManageNicknames"
|"ManageRoles"
|"ManageWebhooks"
|"ManageEmojisAndStickers"
|"ManageGuildExpressions"
|"UseApplicationCommands"
|"RequestToSpeak"
|"ManageEvents"
|"ManageThreads"
|"CreatePublicThreads"
|"CreatePrivateThreads"
|"UseExternalStickers"
|"SendMessagesInThreads"
|"UseEmbeddedActivities"
|"ModerateMembers"
|"ViewCreatorMonetizationAnalytics"
|"UseSoundboard"
|"CreateGuildExpressions"
|"CreateEvents"
|"UseExternalSounds"
|"SendVoiceMessages"
|"SendPolls"
|"UseExternalApps"
,bigint
>>
Defined in
listeners/PluginMessageParse.ts:9
Methods
canRunInChannel()
private
canRunInChannel(message
:Message
<boolean
>):Promise
<boolean
>
Parameters
Parameter | Type |
---|---|
message | Message <boolean > |
Returns
Promise
<boolean
>
Defined in
listeners/PluginMessageParse.ts:88
run()
Parameters
Parameter | Type |
---|---|
message | Message <boolean > |
Returns
Promise
<void
>
Overrides
Listener.run