diff --git a/src/channel.nim b/src/channel.nim index 422d323..b0f2007 100644 --- a/src/channel.nim +++ b/src/channel.nim @@ -138,7 +138,6 @@ proc newInvite*(json: JsonNode): Invite {.inline.} = return invite -#TODO: Files proc sendMessage*(channel: Channel, content: string, tts: bool = false, embed: Embed = nil, files: seq[DiscordFile] = @[]): Message = ## Send a message through the channel. var messagePayload = %*{"content": content, "tts": tts} diff --git a/src/guild.nim b/src/guild.nim index 02ec480..7efe931 100644 --- a/src/guild.nim +++ b/src/guild.nim @@ -663,8 +663,6 @@ proc beginGuildPrune*(guild: Guild, days: int = 7, computePruneCount: bool = fal if computePruneCount: return some(jsonBody["pruned"].getInt()) -#TODO: https://discord.com/developers/docs/resources/guild#get-guild-voice-regions - proc getGuildVoiceRegions*(guild: Guild): seq[VoiceRegion] = ## Returns a list of voice region objects for the guild. let jsonBody = sendRequest(endpoint(fmt("/guilds/{guild.id}/regions")), HttpGet,