You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
720 B
Markdown
40 lines
720 B
Markdown
# aBot - aNetwork's own lil' fella
|
|
|
|
aBot is the Discord bot written for aNetwork. It is built on discord.js,
|
|
and as such uses node/js as its primary language.
|
|
|
|
The main functionality includes:
|
|
- Self-assigning roles
|
|
- (TODO) A report system
|
|
- (TODO) Integration w/ aNetwork specific sites/programs
|
|
|
|
## Requirements
|
|
|
|
- NodeJs
|
|
|
|
## Setup
|
|
|
|
- Download nodejs
|
|
- Download this with `git clone <repositoryURL> .`
|
|
- Enter directory with `cd aBot`
|
|
- Download required packages with `npm install`
|
|
- Run with `node app.js`
|
|
|
|
## Add/Remove Commands
|
|
|
|
### Add
|
|
- Add the command in ./commands
|
|
- run `node deploy-commands.js`
|
|
|
|
### Remove
|
|
- Run `node destroy-commands.js`
|
|
|
|
## Run the bot
|
|
|
|
`node app.js`
|
|
|
|
### Using pm2
|
|
|
|
`pm2 start app.js`
|
|
|