mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 14:38:49 +00:00
Merge pull request #99 from mariusbegby/update-example-config
fix: Actually updated example config with configurable status
This commit is contained in:
1 file changed
+14
@@ -1,3 +1,4 @@
|
|||||||
|
const { ActivityType, PresenceUpdateStatus } = require('discord.js');
|
||||||
// Description: Config file for Cadence Discord bot.
|
// Description: Config file for Cadence Discord bot.
|
||||||
|
|
||||||
// General options for information about the bot.
|
// General options for information about the bot.
|
||||||
@@ -23,6 +24,19 @@ module.exports.systemOptions = {
|
|||||||
systemUserId: 'User id of the system administrator which will receive pings on certain system messages'
|
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.
|
// Options for embed messages, like colors and custom emojis.
|
||||||
module.exports.embedOptions = {
|
module.exports.embedOptions = {
|
||||||
colors: {
|
colors: {
|
||||||
|
|||||||
Reference in new issue
Block a user