Use image url
This commit is contained in:
parent
580988109c
commit
ecebe43d99
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user