Skip to main content

Discord

warning

Please be aware this application is in Beta

The DevoteMe Discord is a module that serves the features of the DevoteMe suite.

note

Have an issue to report or need assistance with the Discord module? Jump over to our Discord and ask in our #devoteme forum channel.

Requirements

  • NodeJS
  • A Discord Bot token
  • [Optional] A running copy of the API.

Installation

  • Download our Discord module from here.
  • Open a new terminal window and run npm i to install all packages.
  • Configure the config.json using the table below.
  • Configure the .env using the table below.
  • Use npm start to start the API.

Commands

CommandDescriptionCommand Use
/devotionReceive the Devotion for day./devotion
/votdReceive the Verse Of The Day./votd

Configuration

config.json

VariableDescription
discord.guildIDThe Guild ID of your Discord (find by right clicking your Guild with Developer Mode enabled)
discord.channel.devotionThe Channel ID of where you would like your Devotions to be sent to (find by right clicking your Guild with Developer Mode enabled)
discord.channel.votdThe Channel ID of where you would like your Verse of The Day to be sent to (find by right clicking your Guild with Developer Mode enabled)

Environment Variables

VariableDescriptionDefault
DISCORDAPIKEYYour Discord Bot API key which you can generate from here
APIURLThe URL to the APIhttps://api.devoteme.modularsoft.org/
TZThe Timezone you operate in which you can obtain from here, under Time Zone ValueAustralia/Sydney