tangled
alpha
login
or
join now
alpine.girlfag.club
/
refbot
0
fork
atom
SpinShare Referee Bot
refbot.ellite.dev/overlay
0
fork
atom
overview
issues
pulls
pipelines
add version command and moved clean and forceclean
alpinesystem
3 weeks ago
4da72e8b
82879d30
1/1
buildnpush.yml
success
21s
+10
-1
4 changed files
expand all
collapse all
unified
split
commands
extras
clean.js
forceclean.js
version.js
package.json
+9
commands/extras/version.js
reviewed
···
1
1
+
const { SlashCommandBuilder } = require('discord.js');
2
2
+
const pjson = require('../../package.json');
3
3
+
4
4
+
module.exports = {
5
5
+
data: new SlashCommandBuilder().setName('version').setDescription('Replies with current version.'),
6
6
+
async execute(interaction) {
7
7
+
interaction.reply({ content: 'Current version is: `' + pjson.version + '`', withResponse: true });
8
8
+
},
9
9
+
};
commands/utility/clean.js
commands/extras/clean.js
reviewed
commands/utility/forceclean.js
commands/extras/forceclean.js
reviewed
+1
-1
package.json
reviewed
···
1
1
{
2
2
"name": "refbot",
3
3
-
"version": "1.1.10",
3
3
+
"version": "1.1.11",
4
4
"description": "",
5
5
"main": "index.js",
6
6
"scripts": {