Skip to content

Commit d3c73de

Browse files
authored
Merge pull request #456 from Sayrix/Sayrix-patch-1
Added CUSTOM type to status.type config
2 parents 9368569 + ee1f6a3 commit d3c73de

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/events/ready.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,12 @@ export default class ReadyEvent extends BaseEvent {
193193
case "WATCHING":
194194
type = 3;
195195
break;
196-
case "COMPETING":
196+
case "CUSTOM":
197197
type = 4;
198198
break;
199+
case "COMPETING":
200+
type = 5;
201+
break;
199202
}
200203

201204
if (this.client.config.status.type && this.client.config.status.text) {
@@ -301,4 +304,4 @@ Copyright 2023 Sayrix (github.com/Sayrix)
301304
302305
Licensed under the Creative Commons Attribution 4.0 International
303306
please check https://creativecommons.org/licenses/by/4.0 for more informations.
304-
*/
307+
*/

0 commit comments

Comments
 (0)