Skip to content

Latest commit

 

History

History
171 lines (122 loc) · 5.41 KB

_DiscordAPI.md

File metadata and controls

171 lines (122 loc) · 5.41 KB

fuwa.js / Exports / _DiscordAPI

Module: _DiscordAPI

TODO: make a web scraper that does this work

file src/lib/_DiscordAPI.ts

fileoverview Exports (most of) the Discord API interfaces. https://discord.com/developers/docs

Table of contents

Enumerations

Interfaces

Type aliases

Variables

Type aliases

ChannelProps

Ƭ ChannelProps: Object

Type declaration

Name Type Description
bitrate? number Only works for voice channels
default_auto_archive_duration? number -
name string -
nsfw? boolean -
parent_id? string This is for channel categories
permission_overwrites? Overwrite[] -
position? number -
rate_limit_per_user? number -
rtc_region? string -
topic? string -
type ChannelType -
user_limit? number Only works for voice channels
video_quality_mode? number Video quality of a voice channel

Defined in

src/lib/_DiscordAPI.ts:933


GuildMember

Ƭ GuildMember: Member

Defined in

src/lib/_DiscordAPI.ts:318


RoleProps

Ƭ RoleProps: Object

Type declaration

Name Type
color string | number
hoist boolean
mentionable boolean
name string
permissions PermissionFlags

Defined in

src/lib/_DiscordAPI.ts:926


UserStatus

Ƭ UserStatus: "idle" | "dnd" | "online" | "offline"

Defined in

src/lib/_DiscordAPI.ts:662

Variables

discordAPI

discordAPI: Object

Type declaration

Name Type
api string
discord string
gateway string

Defined in

src/lib/_DiscordAPI.ts:48


discordCDN

discordCDN: "https://cdn.discordapp.com"

Defined in

src/lib/_DiscordAPI.ts:54