From 91f848208a65f5e185cc22df9cb6aa0a06dcdb78 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sat, 20 Jun 2020 12:48:59 -0500 Subject: [PATCH] Add more tests in embeds --- src/client.nim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client.nim b/src/client.nim index 058ca1d..e33d2b1 100644 --- a/src/client.nim +++ b/src/client.nim @@ -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) )