type stringclasses 7
values | content stringlengths 4 9.55k | repo stringlengths 7 96 | path stringlengths 4 178 | language stringclasses 1
value |
|---|---|---|---|---|
MethodDeclaration |
searchChannelMessages(channelID: string, query: SearchOptions): Promise<SearchResults>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
searchGuildMembers(guildID: string, query: string, limit?: number): Promise<Member[]>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
searchGuildMessages(guildID: string, query: SearchOptions): Promise<SearchResults>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
sendChannelTyping(channelID: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
syncGuildIntegration(guildID: string, integrationID: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
syncGuildTemplate(guildID: string, code: string): Promise<GuildTemplate>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
unbanGuildMember(guildID: string, userID: string, reason?: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
unpinMessage(channelID: string, messageID: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
validateDiscoverySearchTerm(term: string): Promise<{ valid: boolean }>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
on<K extends keyof ClientEvents>(event: K, listener: (...args: ClientEvents[K]) => void): this; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
on(event: string, listener: (...args: any[]) => void): this; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
add(obj: T, extra?: unknown, replace?: boolean): T; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
every(func: (i: T) => boolean): boolean; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
filter(func: (i: T) => boolean): T[]; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
find(func: (i: T) => boolean): T | undefined; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
map<R>(func: (i: T) => R): R[]; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
random(): T | undefined; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
reduce<U>(func: (accumulator: U, val: T) => U, initialValue?: U): U; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
remove(obj: T | Uncached): T | null; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
some(func: (i: T) => boolean): boolean; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
update(obj: T, extra?: unknown, replace?: boolean): T; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
cooldownCheck(msg: Message): boolean; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
cooldownExclusionCheck(msg: Message): boolean; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
executeCommand(msg: Message, args: string[]): Promise<GeneratorFunctionReturn>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
permissionCheck(msg: Message): Promise<boolean>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
process(args: string[], msg: Message): Promise<void | GeneratorFunctionReturn>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
registerSubcommand(label: string, generator: CommandGenerator, options?: CommandOptions): Command; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
registerSubcommandAlias(alias: string, label: string): void; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
unregisterSubcommand(label: string): void; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
checkPrefix(msg: Message): string; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
onMessageCreate(msg: Message): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
onMessageReactionEvent(msg: Message, emoji: Emoji, reactor: Member | Uncached | string): Promise<void> | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
registerCommand(label: string, generator: CommandGenerator, options?: CommandOptions): Command; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
registerCommandAlias(alias: string, label: string): void; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
registerGuildPrefix(guildID: string, prefix: string[] | string): void; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
resolveCommand(label: string): Command; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
unregisterCommand(label: string): void; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
unwatchMessage(id: string, channelID: string): void; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
flattenErrors(errors: HTTPResponse, keyPrefix?: string): string[]; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
addRecipient(userID: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
dynamicIconURL(format?: ImageFormat, size?: number): string | null; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
edit(options: { icon?: string; name?: string; ownerID?: string }): Promise<GroupChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
removeRecipient(userID: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
addDiscoverySubcategory(categoryID: string, reason?: string): Promise<DiscoverySubcategoryResponse>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
addMemberRole(memberID: string, roleID: string, reason?: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
banMember(userID: string, deleteMessageDays?: number, reason?: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createChannel(name: string): Promise<TextChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_TEXT"], options?: CreateChannelOptions): Promise<TextChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_VOICE"], options?: CreateChannelOptions): Promise<VoiceChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_CATEGORY"], options?: CreateChannelOptions): Promise<CategoryChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_NEWS"], options?: CreateChannelOptions | string): Promise<NewsChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_STORE"], options?: CreateChannelOptions | string): Promise<StoreChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_STAGE"], options?: CreateChannelOptions | string): Promise<StageChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createChannel(name: string, type?: number, options?: CreateChannelOptions): Promise<unknown>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration | /** @deprecated */
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_TEXT"], reason?: string, options?: CreateChannelOptions | string): Promise<TextChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration | /** @deprecated */
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_VOICE"], reason?: string, options?: CreateChannelOptions | string): Promise<VoiceChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration | /** @deprecated */
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_CATEGORY"], reason?: string, options?: CreateChannelOptions | string): Promise<CategoryChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration | /** @deprecated */
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_NEWS"], reason?: string, options?: CreateChannelOptions | string): Promise<NewsChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration | /** @deprecated */
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_STORE"], reason?: string, options?: CreateChannelOptions | string): Promise<StoreChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration | /** @deprecated */
createChannel(name: string, type: Constants["ChannelTypes"]["GUILD_STAGE"], reason?: string, options?: CreateChannelOptions | string): Promise<StageChannel>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration | /** @deprecated */
createChannel(name: string, type?: number, reason?: string, options?: CreateChannelOptions | string): Promise<unknown>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createEmoji(options: { image: string; name: string; roles?: string[] }, reason?: string): Promise<Emoji>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createRole(options: RoleOptions | Role, reason?: string): Promise<Role>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createSticker(options: CreateStickerOptions, reason?: string): Promise<Sticker>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
createTemplate(name: string, description?: string | null): Promise<GuildTemplate>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
delete(): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
deleteDiscoverySubcategory(categoryID: string, reason?: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
deleteEmoji(emojiID: string, reason?: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
deleteIntegration(integrationID: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
deleteRole(roleID: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
deleteSticker(stickerID: string, reason?: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
deleteTemplate(code: string): Promise<GuildTemplate>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
dynamicBannerURL(format?: ImageFormat, size?: number): string | null; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
dynamicDiscoverySplashURL(format?: ImageFormat, size?: number): string | null; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
dynamicSplashURL(format?: ImageFormat, size?: number): string | null; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
edit(options: GuildOptions, reason?: string): Promise<Guild>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editCommandPermissions(permissions: ApplicationCommandPermissions[]): Promise<GuildApplicationCommandPermissions[]>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editDiscovery(options?: DiscoveryOptions): Promise<DiscoveryMetadata>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editEmoji(emojiID: string, options: { name: string; roles?: string[] }, reason?: string): Promise<Emoji>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editIntegration(integrationID: string, options: IntegrationOptions): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editMember(memberID: string, options: MemberOptions, reason?: string): Promise<Member>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration | /** @deprecated */
editNickname(nick: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editRole(roleID: string, options: RoleOptions): Promise<Role>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editSticker(stickerID: string, options?: EditStickerOptions, reason?: string): Promise<Sticker>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editTemplate(code: string, options: GuildTemplateOptions): Promise<GuildTemplate>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editVanity(code: string | null): Promise<GuildVanity>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editVoiceState(options: VoiceStateOptions, userID?: string): Promise<void>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editWelcomeScreen(options: WelcomeScreenOptions): Promise<WelcomeScreen>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
editWidget(options: Widget): Promise<Widget>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
fetchAllMembers(timeout?: number): Promise<number>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
fetchMembers(options?: FetchMembersOptions): Promise<Member[]>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
getActiveThreads(): Promise<ListedGuildThreads>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
getAuditLog(options?: GetGuildAuditLogOptions): Promise<GuildAuditLog>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration | /** @deprecated */
getAuditLogs(limit?: number, before?: string, actionType?: number, userID?: string): Promise<GuildAuditLog>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
getBan(userID: string): Promise<{ reason?: string; user: User }>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
getBans(): Promise<{ reason?: string; user: User }[]>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
getCommandPermissions(): Promise<GuildApplicationCommandPermissions[]>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
getDiscovery(): Promise<DiscoveryMetadata>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration | /** @deprecated */
getEmbed(): Promise<Widget>; | oceaann/eris | index.d.ts | TypeScript |
MethodDeclaration |
getIntegrations(): Promise<GuildIntegration>; | oceaann/eris | index.d.ts | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.