diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-03-30 16:34:24 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-03-30 16:34:24 -0400 |
| commit | 3f81f1086f46b8e1882ed0827483a22929330be3 (patch) | |
| tree | 4bda5790eb359f53d4e5671225f38e18a1ce56b9 /commands/about.js | |
| parent | fd89e36490da711ba611c1f7c8dda93a3de054f0 (diff) | |
| download | DLAP-3f81f1086f46b8e1882ed0827483a22929330be3.tar.gz DLAP-3f81f1086f46b8e1882ed0827483a22929330be3.tar.bz2 DLAP-3f81f1086f46b8e1882ed0827483a22929330be3.zip | |
Renamed project; Auto creates music folder when not detected; Removed audio limitation
Diffstat (limited to 'commands/about.js')
| -rw-r--r-- | commands/about.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/about.js b/commands/about.js index 55ef011..bd54e25 100644 --- a/commands/about.js +++ b/commands/about.js @@ -1,6 +1,6 @@ /************************************************************************** * - * DLMP3 Bot: A Discord bot that plays local MP3 audio tracks. + * DLAP Bot: A Discord bot that plays local audio tracks. * (C) Copyright 2022 * Programmed by Andrew Lee * @@ -21,6 +21,7 @@ import { SlashCommandBuilder } from '@discordjs/builders' import { MessageEmbed, version, MessageActionRow, MessageButton } from 'discord.js' +import npmPackage from '../package.json' assert { type:'json' } export default { data: new SlashCommandBuilder() @@ -30,6 +31,7 @@ export default { const aboutEmbed = new MessageEmbed() .setAuthor({name:`About ${bot.user.username}`, iconURL:bot.user.avatarURL()}) .addField('Information', 'A Discord bot that plays local MP3 audio tracks.') + .addField('Version', npmPackage.version) .addField('Original Creator', 'Andrew Lee (Alee#4277)') //.addField('Contributors', '[your name] (discord#0000)') //.addField('Forked by', '[your name] (discord#0000)') |
