Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate to node 20 #139

Merged
merged 2 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.13.2
v20
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@

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!
If you are used to those technologies and would like to contribute, PRs are welcome!

## Documentation / FAQ
## Documentation / FAQ

### :memo: Requirements

- Node.js 16+
- Node.js 20

### Install:wrench::hammer:

### Install:wrench::hammer:
To install the project run the following command:

```
$ npm i
```
Expand All @@ -31,6 +32,7 @@ $ echo "[]" > assets/json/badwordsRule2.json
Set the `.env` file properly and then:

#### Production

```
$ node index.js
```
Expand All @@ -43,9 +45,10 @@ To run the bot for development which includes hot-reload, please use the followi
$ 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).
---

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