Skip to content

Twitch chatbot with functionality that is missing from other bots I've seen

License

Notifications You must be signed in to change notification settings

DJDavid98/DoubleColonBot

Repository files navigation

DoubleColonBot

Twitch chatbot with functionality tailored to my specific needs

Links:

Features

Chat commands

Command Description Permissions
!game name
!category name
Set the currently played game/category for the stream
Be sure to enter the full name of the game (not case-sensitive)
Streamer & moderators
!restart Restarts the bot. In case you are experiencing issues with events not being sent this may help (1 minute cooldown) Streamer
!chat List all available settings for the chat overlay Everyone
!chat name_color #hex Changes the name color displayed on the chat overlay to a custom hex color instead of your default Twitch chat color Everyone
!chat reset Reset all chat overlay settings Everyone
!pronouns Get the streamer's pronouns from the Twitch pronouns API Everyone
!pronouns username Get a specific user's pronouns from the Twitch pronouns API Everyone

WebSocket data

The bot creates a socket.io server which can be connected to via its client library. The socket server supports sending the following events:

  • chat - sent when a regular chat message is received in the channel from someone other than the bot (messages prefixed with ! are ignored)
    • name: string - the display name of the user, or if it's not available, the login name
    • message: string - the message text
    • pronouns: string | null - human-readable pronoun name from the Twitch pronouns API
    • tags: ChatUserstate - information about the message and the user sending it, comes directly from the underlying library (tmi.js Chat event) with the color key potentially replaced based on the user's settings
  • clearChat - sent when the chat is cleared

About

Twitch chatbot with functionality that is missing from other bots I've seen

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published