Skip to content

Releases: Alex22sv/CommanderBot

v1.0.4

30 Jan 00:14
Compare
Choose a tag to compare

This new version allows users to get information about your credit pools (ID, credits, members and servers).
image

This version requires you to have the version 1.11.1 or above of the exaroton npm package.

Full Changelog: 1.0.3...1.0.4

v1.0.3

05 Aug 20:14
Compare
Choose a tag to compare

This update separates the 'ram' command to:

change-ram

  • Description: Change the amount of RAM assigned to your server.
  • Usage: /change-ram <server name|ID|address>

check-ram

  • Description: Check the amount of RAM assigned to your server.
  • Usage: /check-ram <server name|ID|address>

v1.0.2

22 May 01:33
253d0a1
Compare
Choose a tag to compare

This update allows users to start servers that the exaroton account has shared access to with the account credits.

v1.0.1

23 Nov 21:38
Compare
Choose a tag to compare

The first version of CommanderBot is here!

What does it do?

CommanderBot is an updated and improved version of PhoenixAPI-Bot which has the same commanods but the difference between both bots is that CommanderBot no longer uses message commands but slash commands.

Slash commands?

Yes. CommanderBot will only reply through slash commands, e.g. /help.
image

Setting up the bot

Requirements

What's next?

  1. Download the code.
    image
  2. Run npm install in the path where you have the main folder.
    image
  3. Create a Discord application here
    image
  4. Click the "Bot" tab and "Add Bot".
    image
  5. Copy your Discord token.
    image
  6. Move the file example.config.json to the src folder and rename it to config.json, then paste the Discord token inside the discordToken value.
    image
  7. Go to your exaroton account, copy the exaroton API token and paste it inside the exarotonAPIkey value.
    image
    image
  8. To invite the bot to your server use this link and replace the 'ID' with the client ID of your application which you can find here
    image
    image
    image
  9. Paste the client ID you copied from the Discord Developer Portal and paste it inside the clientId value in the config file.
    image

Starting the bot

Once you have the bot on your server and added all the config to the config.json file, you can start the bot running the command node main.js. Make sure the path is set to the CommanderBot folder.
You'll see this message when the bot is online:
image
And done! The bot is set up and online. You can now run /help to get the list of commands.