Remove some finished TODO's

This commit is contained in:
SeanOMik 2020-06-20 14:01:20 -05:00
parent 06f0e536b1
commit 5166ffe8ed
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
2 changed files with 0 additions and 3 deletions

View File

@ -138,7 +138,6 @@ proc newInvite*(json: JsonNode): Invite {.inline.} =
return invite return invite
#TODO: Files
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] = @[]): Message =
## Send a message through the channel. ## Send a message through the channel.
var messagePayload = %*{"content": content, "tts": tts} var messagePayload = %*{"content": content, "tts": tts}

View File

@ -663,8 +663,6 @@ proc beginGuildPrune*(guild: Guild, days: int = 7, computePruneCount: bool = fal
if computePruneCount: if computePruneCount:
return some(jsonBody["pruned"].getInt()) return some(jsonBody["pruned"].getInt())
#TODO: https://discord.com/developers/docs/resources/guild#get-guild-voice-regions
proc getGuildVoiceRegions*(guild: Guild): seq[VoiceRegion] = proc getGuildVoiceRegions*(guild: Guild): seq[VoiceRegion] =
## Returns a list of voice region objects for the guild. ## Returns a list of voice region objects for the guild.
let jsonBody = sendRequest(endpoint(fmt("/guilds/{guild.id}/regions")), HttpGet, let jsonBody = sendRequest(endpoint(fmt("/guilds/{guild.id}/regions")), HttpGet,