KATalyzt75 / twitchBotLVLRS

Twitch bot for get some data from a specific player. Ex: !lvl KAT alyzt all

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download and install

In a console with git and Node.js installed (You can find that on Google)

Configurations:

For this, you have two files, Config.json and Skills.json:

config.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

Variables for config.json in the last three lines (Custom messages)

  • ${thisUser} = Person who executed the command (All messages can use this var)
Only in "responseMsg":
  • ${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

skills.json

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.

About

Twitch bot for get some data from a specific player. Ex: !lvl KAT alyzt all


Languages

Language:JavaScript 99.7%Language:Batchfile 0.3%