TextChannel
extends Channel
Methods
<TextChannel>.bulkDelete(array)
Bulk Deletes the Array of Message IDs
Param
Required
Default
Type
array
true
none
Array
<TextChannel>.createInvite(options)
Creates an Invite
Param
Required
Default
Type
options
false
{}
Object
options.temporary
false
false
Boolean
options.maxAge
false
86400
Number
options.maxUses
false
0
Number
options.unique
false
false
Boolean
<TextChannel>.edit(options);
This is only available at the Master Branch!
Param
Required
Default
Type
name
false
none
String
position
false
none
Number
topic
false
none
String
nsfw
false
none
Boolean
rate_limit_per_user
false
none
Number
parent_id
false
none
String<Snowflake>
<TextChannel>.editPermission(options)
This is only available at the Master Branch!
Param
Required
Default
Type
options
false
none
Object
<TextChannel>.fetchInvites()
Fetch all invites created on the Channel
<TextChannel>.fetchMessage(message)
Fetch a Message
Param
Required
Default
Type
message
true
none
String | Snowflake
<TextChannel>.fetchMessages(limit)
Fetches the amount of messages
Param
Required
Default
Type
Max
limit
true
50
Number
2 - 100
<TextChannel>.sendMessage(content)
Send a message to the channel
Param
Required
Default
Type
content
true
none
String
<TextChannel>.sendEmbed(embed)
This Function is only available at the Master Branch!
Param
Required
Default
Type
Last updated
Was this helpful?