Alinyx is a general purpose discord bot. Right now it mostly serves as a playground for me to experiment with discord.js.
- Clone the repository
- Install required packages using
> npm install
- Create a
config.json
file inside the cloned repository folder. It should contain,
{
"clientId": "...",
"guildId": "...",
"token": "...",
}
clientId
is the application ID of the bot found on your Discord developer dashboard.guildID
is the ID of the guild used for adding slash commands to.token
is your bot token found on your Discord developer dashboard.
You can host the bot by running host-bot.sh
or by running
> node index.js
You can add the slash commands by running deploy-commands.sh
or by running
> node deploy-commands.js