Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
fix: Actually updated example config with configurable status
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusbegby committed Jul 20, 2023
1 parent 594ede9 commit 1e7d723
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/config_example.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const { ActivityType, PresenceUpdateStatus } = require('discord.js');
// Description: Config file for Cadence Discord bot.

// General options for information about the bot.
Expand All @@ -23,6 +24,19 @@ module.exports.systemOptions = {
systemUserId: 'User id of the system administrator which will receive pings on certain system messages'
};

// Options for presence/activity status. You can change from watching to listening, playing, etc.
// See https://discord-api-types.dev/api/discord-api-types-v10/enum/ActivityType for valid activity types.
// See https://discord-api-types.dev/api/discord-api-types-v10/enum/PresenceUpdateStatus for valid presence status.
module.exports.presenceStatusOptions = {
status: PresenceUpdateStatus.Online,
activities: [
{
name: '/help 🎶',
type: ActivityType.Listening
}
]
};

// Options for embed messages, like colors and custom emojis.
module.exports.embedOptions = {
colors: {
Expand Down

0 comments on commit 1e7d723

Please # to comment.