https://github.com/atlinx/alinyxbot
A general purpose discord bot
https://github.com/atlinx/alinyxbot
discord-bot discordjs
Last synced: about 1 month ago
JSON representation
A general purpose discord bot
- Host: GitHub
- URL: https://github.com/atlinx/alinyxbot
- Owner: Atlinx
- Created: 2021-10-14T03:35:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-15T23:36:06.000Z (over 4 years ago)
- Last Synced: 2025-02-01T04:28:08.646Z (over 1 year ago)
- Topics: discord-bot, discordjs
- Language: JavaScript
- Homepage:
- Size: 50.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alinyx Bot
Alinyx is a general purpose discord bot. Right now it mostly serves as a playground for me to experiment with discord.js.
## Setup
1. Clone the repository
2. Install required packages using
```bash
> npm install
```
3. Create a `config.json` file inside the cloned repository folder. It should contain,
```json
{
"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.
## Usage
You can host the bot by running `host-bot.sh` or by running
```bash
> node index.js
```
You can add the slash commands by running `deploy-commands.sh` or by running
```bash
> node deploy-commands.js
```