Use image url

This commit is contained in:
Joseph Ferano 2022-05-10 00:29:43 +07:00
parent 580988109c
commit ecebe43d99

View File

@ -157,7 +157,7 @@ let purchaseItemEmbed (item : Item) =
match item.Type with match item.Type with
| ItemType.Jpeg -> | ItemType.Jpeg ->
embed.Description <- $"Congratulations! You are in the draw for the {item.Name}. The winner will be announced soon in the <#{GuildEnvironment.channelGiveaway}>" embed.Description <- $"Congratulations! You are in the draw for the {item.Name}. The winner will be announced soon in the <#{GuildEnvironment.channelGiveaway}>"
embed.ImageUrl <- item.Description embed.ImageUrl <- item.ImageUrl
| _ -> embed.Description <- $"Purchased {item.Name}" | _ -> embed.Description <- $"Purchased {item.Name}"
embed embed