Why is ActivityType.Custom excluded from the presence ActivityOptions[]?
See code here in index.d.ts:
Solution:Jump to solution
Update: the exclusion has been removed and typescript is no longer mad at me.
```ts
export interface ActivityOptions {
name: string;
state?: string;...
3 Replies
This is not sapphire related. These types come from DiscordJS.
Bots cannot have custom statuses.
That must've changed recently as all of my bots have had custom statuses for the last 8 or so months
Solution
Update: the exclusion has been removed and typescript is no longer mad at me.
Very confusing what that was all about! The bots worked fine either way but I never like seeing red in my IDE