getChannel


General

getChannel returns a Discord channel from the connected guild by the given ID.


Usage

Client:getChannel(<string> channelId)
Returns: <Channel> channel


Limitations

See discordChannel GET.


Example

print(Client:getChannel("521329297428840448") ~= nil)

Back to top