Add more tests in embeds

This commit is contained in:
SeanOMik 2020-06-20 12:48:59 -05:00
parent 8843b25906
commit 91f848208a
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
1 changed files with 4 additions and 0 deletions

View File

@ -180,6 +180,10 @@ registerEventListener(EventType.evtMessageCreate, proc(bEvt: BaseEvent) =
var embed = Embed()
embed.setTitle("This embed is being sent from Nimcord!")
embed.setDescription("Nimcord was developed in about a week of actual work so there will likely be issues.")
embed.addField("Title", "value")
embed.addField("Inline-0", "This is an inline field 0", true)
embed.addField("Inline-1", "This is an inline field 1", true)
embed.setColor(0xffb900)
discard channel.sendMessage("", false, embed)
)