New image, command

This commit is contained in:
Joseph Ferano 2022-05-17 18:15:20 +07:00
parent dbbad54ff5
commit c52c601c62

View File

@ -357,7 +357,7 @@ let sendSubmitEmbed (ctx : IDiscordContext) =
DiscordEmbedBuilder()
.WithColor(DiscordColor.White)
.WithDescription(rewardMsg)
.WithImageUrl("https://s8.gifyu.com/images/whitelist-submit-banner---final.png")
.WithImageUrl("https://s8.gifyu.com/images/whitelist-submit-banner22.png")
.WithTitle("Submit Wallet")
let builder = DiscordMessageBuilder().AddEmbed(embed)
@ -443,7 +443,7 @@ let submitWhitelist (ctx : IDiscordContext) (address : string) =
type Inviter() =
inherit ApplicationCommandModule ()
[<SlashCommand("submit1", "Test something")>]
[<SlashCommand("submit", "Submit your public wallet address")>]
member this.SubmitAddress (ctx : InteractionContext, [<Option("address", "Wallet address")>] address : string) =
submitWhitelist (DiscordInteractionContext ctx) address