diff --git a/deploy-cmds.js b/deployCmds.js similarity index 76% rename from deploy-cmds.js rename to deployCmds.js index 3c379c3..063358d 100644 --- a/deploy-cmds.js +++ b/deployCmds.js @@ -11,5 +11,5 @@ const commands = getCmdsJson() const rest = new REST({ version: '10' }).setToken(token) rest.put(Routes.applicationCommands(clientId), { body: commands }) - .then((data) => console.log(`Successfully registered ${data.length} application commands.`)) + .then((data) => console.log(`[${__filename}] Successfully registered ${data.length} application commands.`)) .catch(console.error) \ No newline at end of file diff --git a/package.json b/package.json index 24db7f3..91b7f70 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Splatoon 3 Discord Bot", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "start": "node index.js", + "cmd": "node deployCmds.js" }, "repository": { "type": "git",