An open API service indexing awesome lists of open source software.

https://github.com/retroachievements/rabot

RetroAchievements.org's Discord Bot
https://github.com/retroachievements/rabot

discord-bot retroachievements

Last synced: 10 months ago
JSON representation

RetroAchievements.org's Discord Bot

Awesome Lists containing this project

README

          

This project is archived. For the latest developments with RABot, please see [RABot-Next](https://github.com/RetroAchievements/RABot-Next) instead.

---

# RetroAchievements.org Discord Bot

🤖 **RABot** is the official [RetroAchievements Discord](https://discord.gg/dq2E4hE) bot. If you wanna see it in action, [join the server](https://discord.gg/dq2E4hE) and type `!help`.

The code is written in JavaScript and is powered by [discord.js library](https://discord.js.org/#/docs/main/) and [Commando framework](https://discord.js.org/#/docs/commando/).

If you are used to those technologies and would like to contribute, PRs are welcome!

## Documentation / FAQ

### :memo: Requirements

- Node.js 20

### Install:wrench::hammer:

To install the project run the following command:

```
$ npm i
```

Fetch game lists and add a badwords file

```
$ bash util/getgamelist.sh
$ echo "[]" > assets/json/badwordsRule2.json
```

### Run :computer:

Set the `.env` file properly and then:

#### Production

```
$ node index.js
```

#### Development

To run the bot for development which includes hot-reload, please use the following command:

```
$ npm run dev
```

### :books: Inspiration

Many inspiration for RABot was obtained from the [Xiao bot's code](https://github.com/dragonfire535/xiao).

---

:information_source: For any issues please raise a [ticket](https://github.com/RetroAchievements/RABot/issues).