mirror of
https://github.com/danbulant/discord.js
synced 2026-06-14 20:21:38 +00:00
feat(ActivityTypes): add Competing (type 5) (#4824)
This commit is contained in:
parent
01ceda5b0c
commit
9c76129a23
2 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue