Remove some finished TODO's
This commit is contained in:
parent
06f0e536b1
commit
5166ffe8ed
|
@ -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}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Reference in New Issue