Skip to content

Commit

Permalink
feat: change playing status to custom status (#1644)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mittelblut9 authored Aug 25, 2023
2 parents 90bc5d2 + 614b5db commit cb0bdd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/assets/json/_config/activity_dev.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"texts": ["with {loc} lines of code on v{version}"]
"texts": ["{loc} lines of code on v{version}"]
}
5 changes: 3 additions & 2 deletions utils/functions/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ module.exports.setActivity = async (bot, restart = false) => {
}

bot.user.setActivity({
name: newActivity,
type: ActivityType.Playing,
name: 'Custom Status',
state: newActivity,
type: ActivityType.Custom,
});
};

0 comments on commit cb0bdd0

Please sign in to comment.