Skip to content

Commit 267a722

Browse files
committed
🔖 Moved to 1.0.2
1 parent 43a86a2 commit 267a722

5 files changed

Lines changed: 5 additions & 6 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ This table outlines what the configuration settings are in `config.json`.
5151
| `default_game_server_password` | Default Custom Game Server Password (can be overridden by `password` command) | `true` |
5252
| `host_channel_messages` | Choose whether results of votes are posted in the hosts channel | `true` |
5353
| `custom_role_ping` | Choose whether the Custom role set by `custom_role_id` should be pinged/mentioned | `true` |
54-
| `version` | Version of the bot. Should be left as is | `0.0.1` |
5554
| `debug_enable` | Enable or Disable debugging (false = off) | `false` |
5655

5756
## 🚀 Usage:

commands/help.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ exports.run = async (client, message) => {
119119
timestamp: new Date(),
120120
footer: {
121121
icon_url: client.user.avatarURL,
122-
text: `© DanBennett - Version: ${
123-
client.config.version
124-
}`,
122+
text: `© DanBennett - Version: ${client.version}`,
125123
},
126124
},
127125
});

config-example.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@
2020
"default_game_server_password": "",
2121
"host_channel_messages": true,
2222
"custom_role_ping": false,
23-
"version": "1.0.1",
2423
"debug_enable": false
2524
}

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ client.on('messageReactionRemove', (messageReaction, user) => {
189189
}
190190
});
191191

192+
// Current bot version
193+
client.version = '1.0.2';
194+
192195
// Debug errors
193196
if (config.debug_enable === true) {
194197
client.on('error', e => console.error(e));

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "custombotjs",
3-
"version": "0.0.1",
3+
"version": "1.0.2",
44
"description": "A Discord Bot for organising PUBG Custom Games",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)