diff --git a/.env_example b/.env_example index f312147..e41c215 100644 --- a/.env_example +++ b/.env_example @@ -1,3 +1,2 @@ DISCORD_TOKEN= -RADIOX_STATIONSLISTURL=https://gitea.cwinfo.org/cwchristerw/radio/raw/branch/master/playlist.json -RADIOX_PREFIX=rx- \ No newline at end of file +RADIOX_STATIONSLISTURL=https://gitea.cwinfo.org/cwchristerw/radio/raw/branch/master/playlist.json \ No newline at end of file diff --git a/README.md b/README.md index aa87e67..53033a4 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,9 @@ Internet Radio to your Discord guild ## [Radio Stations List](https://gitea.cwinfo.org/cwchristerw/radio) This bot is using Gitea repo to get radio stations from [playlist.json](https://gitea.cwinfo.org/cwchristerw/radio/raw/branch/master/playlist.json) file. List is currently maintained by Christer Warén. You can use alternative list with same format when using RADIOX_STATIONSLISTURL environment variable. -## PREFIX -Default prefix is "rx-" and you can change it with using RADIOX_PREFIX environment variable. - ## Docker 1. `docker build -t warengroup/eximiabots-radiox .` -2. `docker run --name radiox-dev -d --net host -e DISCORD_TOKEN= -e RADIOX_PREFIX="rx-" -v "$PWD/datastore":/usr/src/app/datastore/ warengroup/eximiabots-radiox` +2. `docker run --name radiox-dev -d --net host -e DISCORD_TOKEN= -v "$PWD/datastore":/usr/src/app/datastore/ warengroup/eximiabots-radiox` ## Join our Discord Server https://discord.gg/rRA65Mn diff --git a/src/client/commands/help.js b/src/client/commands/help.js index 476def6..fc5b94c 100644 --- a/src/client/commands/help.js +++ b/src/client/commands/help.js @@ -19,7 +19,6 @@ module.exports = { message.helpTitle = client.messages.helpTitle.replace("%client.user.username%", client.user.username); message.helpDescription = client.messages.helpDescription.replace("%commands%", commands); - message.helpDescription = message.helpDescription.replace("%client.config.prefix%", client.config.prefix); const embed = new Discord.MessageEmbed() .setTitle(message.helpTitle) diff --git a/src/client/messages.js b/src/client/messages.js index db7350c..9e44a11 100644 --- a/src/client/messages.js +++ b/src/client/messages.js @@ -8,7 +8,7 @@ module.exports = { bugDescription: "Join the support server \n %client.config.supportGuild%", helpTitle: "%client.user.username% help:", helpDescription: "%commands%", - helpCommandTitle: "%client.config.prefix%%command.name% %command.usage%", + helpCommandTitle: "%command.name% %command.usage%", helpCommandDescription: "%command.description% \n Command Alias: %command.alias%", inviteTitle: "Invite %client.user.username% to your Discord server!", listTitle: "Radio Stations", diff --git a/src/config.js b/src/config.js index 41089fe..2aa884d 100644 --- a/src/config.js +++ b/src/config.js @@ -20,7 +20,6 @@ module.exports = { hostedBy: "[Warén Group](https://waren.io)", //Settings - prefix: process.env.RADIOX_PREFIX || "rx-", version: process.env.RADIOX_VERSION || process.env.npm_package_version, debug: process.env.DEBUG_MODE || false