Add version to help embed footer
All checks were successful
NodBot PE Dockerization / build (push) Successful in 1m20s
All checks were successful
NodBot PE Dockerization / build (push) Successful in 1m20s
This commit is contained in:
parent
7ed4318863
commit
f147761d35
@ -26,6 +26,7 @@ const axios = require('axios');
|
||||
// Various imports from other files
|
||||
const config = require('./config.json');
|
||||
const strings = require('./strings.json');
|
||||
const appVersion = require('./package.json').version;
|
||||
const slashCommandFiles = fs.readdirSync('./slash-commands/').filter(file => file.endsWith('.js'));
|
||||
const dotCommandFiles = fs.readdirSync('./dot-commands/').filter(file => file.endsWith('.js'));
|
||||
const customEmbeds = require('./CustomModules/Embeds.js');
|
||||
@ -182,7 +183,8 @@ const functions = {
|
||||
const helpEmbed = new Discord.MessageEmbed()
|
||||
.setColor('BLUE')
|
||||
.setAuthor({name: 'Help Page'})
|
||||
.setThumbnail(strings.urls.avatar);
|
||||
.setThumbnail(strings.urls.avatar)
|
||||
.setFooter(`v${appVersion}`);
|
||||
|
||||
// Construct the Slash Commands help
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user