mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix: document ChannelData#reason (#3549)
* fix: document ChannelData#reason * update respective typings * closes #3548 * update: add note creation only Co-Authored-By: SpaceEEC <spaceeec@yahoo.com>
This commit is contained in:
@@ -303,6 +303,7 @@ class GuildChannel extends Channel {
|
||||
* @property {ChannelCreationOverwrites[]|Collection<Snowflake, PermissionOverwrites>} [permissionOverwrites]
|
||||
* Overwrites of the channel
|
||||
* @property {number} [rateLimitPerUser] The rate limit per user of the channel in seconds
|
||||
* @property {string} [reason] Reason for creating the channel (Only when creating)
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -1706,6 +1706,7 @@ declare module 'discord.js' {
|
||||
parent?: ChannelResolvable;
|
||||
permissionOverwrites?: PermissionOverwrites[] | ChannelCreationOverwrites[];
|
||||
rateLimitPerUser?: number;
|
||||
reason?: string;
|
||||
};
|
||||
|
||||
type ChannelLogsQueryOptions = {
|
||||
|
||||
Reference in New Issue
Block a user