clarkio / vscode-twitch-highlighter

This is a VS Code extension that will allow your Twitch chat to highlight a line of code via a command message. Example: `!line 8 server.js`. See master branch README.md for more details
https://clarkio.com
203 stars 14 forks source link

Use VSCode user settings #36

Closed parithon closed 5 years ago

parithon commented 5 years ago

The user should now be able to set the following settings for the extension:

  1. channels (The channels the twitch-js IRC module will join)
  2. highlightColor (The background color the decoration will use)
  3. highlightBorder (The CSS style the decoration border will use)
  4. announceBot (Whether the bot should announce when joining and departing the chat room)
  5. joinMessage (The message the bot will say when joining a chat room)
  6. leaveMessage (The message the bot will say when leaving a chat room)

Additionally, when the user tries to connect for the first time, and no credentials exist, the user will be prompted to set the credentials. There is a bug at the moment where the VSCode input prompts cancel if VSCode loses focus. I haven't had the time to figure that one out yet.

Changed Files

package.json

extensions.ts

server.ts

Addresses

11

32

33 (changed console.debug to console.log)