mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(ActivityTypes): add Competing (type 5) (#4824)
This commit is contained in:
@@ -427,9 +427,10 @@ exports.MessageTypes = [
|
||||
* * LISTENING
|
||||
* * WATCHING
|
||||
* * CUSTOM_STATUS
|
||||
* * COMPETING
|
||||
* @typedef {string} ActivityType
|
||||
*/
|
||||
exports.ActivityTypes = ['PLAYING', 'STREAMING', 'LISTENING', 'WATCHING', 'CUSTOM_STATUS'];
|
||||
exports.ActivityTypes = ['PLAYING', 'STREAMING', 'LISTENING', 'WATCHING', 'CUSTOM_STATUS', 'COMPETING'];
|
||||
|
||||
exports.ChannelTypes = {
|
||||
TEXT: 0,
|
||||
|
||||
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -2127,7 +2127,7 @@ declare module 'discord.js' {
|
||||
shardID?: number | readonly number[];
|
||||
}
|
||||
|
||||
type ActivityType = 'PLAYING' | 'STREAMING' | 'LISTENING' | 'WATCHING' | 'CUSTOM_STATUS';
|
||||
type ActivityType = 'PLAYING' | 'STREAMING' | 'LISTENING' | 'WATCHING' | 'CUSTOM_STATUS' | 'COMPETING';
|
||||
|
||||
interface AddGuildMemberOptions {
|
||||
accessToken: string;
|
||||
|
||||
Reference in New Issue
Block a user