Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kurama250/status_bot

This script is a bot that allows you to give a rank when you have a certain personalized status !
https://github.com/kurama250/status_bot

discord discordjs javascript shell status-bot

Last synced: about 2 months ago
JSON representation

This script is a bot that allows you to give a rank when you have a certain personalized status !

Awesome Lists containing this project

README

        

Status bot for discord !


(Programming Language - Node.js | Shell)










# Tutorial to install the bot ! For LINUX (VPS or Dedicated Server)

## 1 - on Terminal

A) Auto installer

- Run command :

```shell script
bash <(curl -s https://raw.githubusercontent.com/Status_bot/main/setup.sh)
```

B) Manual installer

```shell script
apt update && apt upgrade -y
apt install npm nodejs git -y
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&\
apt-get install -y nodejs
```

```shell script
git clone https://github.com/Kurama250/Status_bot.git
cd Status_bot/
npm install [email protected] [email protected]
npm install pm2 -g
```
## 2 - on Terminal

```shell script
nano config/config.json
```

- And you also change this line on config/config.json :

```js
{
"token": "YOUR_TOKEN",
"roleId": "ROLE_ID",
"serverId": "SERVER_ID",
"triggerMessages": [
"/update",
".gg/update",
"discord.gg/update",
"https://discord.gg/update"
],
"webhookUrl": "WEBHOOK_URL"
}
```

- After doing this, press CTRL + X and you press Y and ENTER then you do the following commands !

## 3 - on Terminal

```shell script
pm2 start main.js -n Status_bot
```
- Demo :

![alt text](https://github.com/Kurama250/Status_bot/blob/main/status.png?raw=true)

If you like this repository don't hesitate to give it a star ⭐ !


Then it's the end you have started the code have fun !

Licence : [Creative commons](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en) - CC BY-NC-ND 4.0 by [Kurama250](https://github.com/Kurama250)