Function isTriggeredByUserWithValidEmail
- isTriggeredByUserWithValidEmail(interaction: ChatInputCommandInteraction<CacheType> | ButtonInteraction<CacheType>, commandName: string): Promise<GuildMember>
-
Parameters
-
interaction: ChatInputCommandInteraction<CacheType> | ButtonInteraction<CacheType>
-
commandName: string
Returns Promise<GuildMember>
Checks if the user has the Valid Email role
Deprecated
Returns
GuildMember object of the triggerer