mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 01:40:08 +00:00
fix(types,bot): Update channel.permissions description (#4513)
This commit is contained in:
@@ -418,7 +418,7 @@ export interface Channel {
|
||||
member?: ThreadMember
|
||||
/** Default duration for newly created threads, in minutes, to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080 */
|
||||
defaultAutoArchiveDuration?: number
|
||||
/** computed permissions for the invoking user in the channel, including overwrites, only included when part of the resolved data received on a slash command interaction. This does not include implicit permissions, which may need to be checked separately. */
|
||||
/** computed permissions for the invoking user in the channel, including overwrites, only included when part of the resolved data received on an interaction. This does not include implicit permissions, which may need to be checked separately. */
|
||||
permissions?: Permissions
|
||||
/** The flags of the channel */
|
||||
flags?: number
|
||||
|
||||
@@ -108,7 +108,7 @@ export interface DiscordChannel extends Partial<DiscordThreadCreateExtra> {
|
||||
* @remarks
|
||||
* The computed permissions include channel overwrites but does not include implicit permissions, those need to be checked separatly.
|
||||
*
|
||||
* Only presented when part of `resolved` data received from a slash command interaction.
|
||||
* Only presented when part of `resolved` data received on an interaction.
|
||||
*/
|
||||
permissions?: string
|
||||
/** The flags of the channel */
|
||||
|
||||
Reference in New Issue
Block a user