feat: update permissions
This commit is contained in:
		@@ -111,6 +111,8 @@ class Permissions extends BitField {
 | 
			
		||||
 * * `VIEW_CREATOR_MONETIZATION_ANALYTICS`
 | 
			
		||||
 * * `USE_SOUNDBOARD`
 | 
			
		||||
 * * `SEND_VOICE_MESSAGES`
 | 
			
		||||
 * * `USE_CLYDE_AI`
 | 
			
		||||
 * * `SET_VOICE_CHANNEL_STATUS`
 | 
			
		||||
 * @type {Object<string, bigint>}
 | 
			
		||||
 * @see {@link https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags}
 | 
			
		||||
 */
 | 
			
		||||
@@ -162,6 +164,8 @@ Permissions.FLAGS = {
 | 
			
		||||
  VIEW_CREATOR_MONETIZATION_ANALYTICS: 1n << 41n,
 | 
			
		||||
  USE_SOUNDBOARD: 1n << 42n,
 | 
			
		||||
  SEND_VOICE_MESSAGES: 1n << 46n,
 | 
			
		||||
  USE_CLYDE_AI: 1n << 47n,
 | 
			
		||||
  SET_VOICE_CHANNEL_STATUS: 1n << 48n,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								typings/index.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								typings/index.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -642,6 +642,7 @@ export class BaseGuildVoiceChannel extends TextBasedChannelMixin(GuildChannel, [
 | 
			
		||||
  public rateLimitPerUser: number | null;
 | 
			
		||||
  public userLimit: number;
 | 
			
		||||
  public videoQualityMode: VideoQualityMode | null;
 | 
			
		||||
  public status?: string;
 | 
			
		||||
  public createInvite(options?: CreateInviteOptions): Promise<Invite>;
 | 
			
		||||
  public setRTCRegion(rtcRegion: string | null, reason?: string): Promise<this>;
 | 
			
		||||
  public fetchInvites(cache?: boolean): Promise<Collection<string, Invite>>;
 | 
			
		||||
@@ -6769,7 +6770,9 @@ export type PermissionString =
 | 
			
		||||
  | 'MANAGE_EVENTS'
 | 
			
		||||
  | 'VIEW_CREATOR_MONETIZATION_ANALYTICS'
 | 
			
		||||
  | 'USE_SOUNDBOARD'
 | 
			
		||||
  | 'SEND_VOICE_MESSAGES';
 | 
			
		||||
  | 'SEND_VOICE_MESSAGES'
 | 
			
		||||
  | 'USE_CLYDE_AI'
 | 
			
		||||
  | 'SET_VOICE_CHANNEL_STATUS';
 | 
			
		||||
 | 
			
		||||
export type RecursiveArray<T> = ReadonlyArray<T | RecursiveArray<T>>;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user