From 5166ffe8ed7609d7438f2269941a6cc8bab5a370 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sat, 20 Jun 2020 14:01:20 -0500 Subject: [PATCH] Remove some finished TODO's --- src/channel.nim | 1 - src/guild.nim | 2 -- 2 files changed, 3 deletions(-) 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,