Skip to content

solaris-games/solaris-discord-bot

Repository files navigation

Solaris Discord Bot

Installation

Before you begin, run through the discord.js getting started guide to register a new Discord bot application and add it to your server.

Once you have created a bot, added it to your server and retrieved a bot token, you can proceed:

  1. Install the prerequisites.
  2. Clone the repository.
  3. Checkout master.
  4. npm install
  5. Create a .env file in the root directory (See .env.example).
    • Add your Discord bot token to the DISCORD_BOT_TOKEN environment variable.
  6. npm start to start the bot.

Adding new commands

  1. Create a new command in src/commands.
  2. Register it in src/index.ts.
    • Note that users can execute the command with the $<command_name> format, for example $help.

Contributing

See here.

License

See here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published