[PL] Instalacja
Wymagania: NodeJS
Linux
- Stwórz folder i wypakuj pliki bota.
- Uzupełnij token bota w pliku config.json.
- Zainstaluj wymagane pakiety.
npm install
- Uruchom bota.
node index.js
- Wyślij wiadomość "{prefix}send-message" na kanale którym chcesz mieć wysyłaną wiadomość przez bot'a, po czym wyłącz bota.
- Uzupełnij "fivem_info_url" (3 linia) i "fivem_players_url" (4 linia) w pliku config.json.
http://ip:port/info.json - fivem_info_url
http://ip:port/info.json - fivem_players_url
- Ustaw "channel_status_id" (Kanał na którym mają być wysyłane wiadomości) oraz "message_status_id" (Id wiadomości którą wysłał bot).
- Uruchom bota.
node index.js
[ENG]
Installation
Requirements: NodeJS
Linux
- Create a folder and extract the bot files.
- Complete the bot token in the file config.json.
- Install the required packages.
npm install
- Run bot
node index.js
- Send command "{prefix}send-message" and stop the bot.
- Replace the "fivem_info_url" (3 line) and "fivem_players_url" (4 line) in the file config.json.
http://ip:port/info.json - fivem_info_url
http://ip:port/info.json - fivem_players_url
- Set channel id (where is the status message) and copy message id and paste in config.
- Run the bot.
node index.js