diff --git a/src/nimcord/channel.nim b/src/nimcord/channel.nim index eceaa2c..49c057e 100644 --- a/src/nimcord/channel.nim +++ b/src/nimcord/channel.nim @@ -138,7 +138,7 @@ proc newInvite*(json: JsonNode): Invite {.inline.} = return invite -proc sendMessage*(channel: Channel, content: string, tts: bool = false, embed: Embed = nil, files: seq[DiscordFile] = @[]): Message = +proc sendMessage*(channel: Channel, content: string, tts: bool = false, embed: Embed = nil, files: seq[DiscordFile] = @[]): Future[Message] {.async.} = ## Send a message through the channel. var messagePayload = %*{"content": content, "tts": tts}