In a console with git and Node.js installed (You can find that on Google)
- git clone https://github.com/KATalyzt75/twitchBotLVLRS
- cd twitchBotLVLRS
- sudo npm i -D
- npm run app OR RUN.bat (In Windows)
For this, you have two files, Config.json and Skills.json:
- BotUsername = Place the name of your bot account
- BotOauthToken = You can see your code by loggin into this page with your bot account
- ChannelList = Is an array, you can write any channel or channels separated by commas ["Channel1","Channel2","Channel3"],
- OSRSid = Your channel ID, if you don't know what is the id, enable debug with true and getID in true, run the bot and write a message in your twitch chat (This is for the bot to focus on a specific channel.)
- Debug = True (ON) / False (OFF) (See all messages in the console)
- GetID = Return your channel ID
- Custom messages for your lenguage or your style. Compatible with variables
- ${thisUser} = Person who executed the command (All messages can use this var)
- ${rsn} = Returns the RSN passed by parameter
- ${skill} = Returns the Skill passed by parameter
- ${level} = Returns the Level for the Skill
- ${xp} = Returns the Experience for the Skill
- ${rank} = Returns the Rank for the Skill
This is simple, you can add synonyms or translations, whatever you like. If the line you add is NOT the last one, you should put a comma at the end of it, and if it is the last one, you should not have it.