losaflash.blogg.se

Mirc download files bot
Mirc download files bot










mirc download files bot

Without requesting Twitch-specific IRC capabilities, your bot is limited to sending and receiving PRIVMSG messages. The Getting Started example does just this by looking for the !dice command, rolling the die, and sending a PRIVMSG message with the rolled number. For example, if your bot performs an action in response to a user command, it must parse the user’s posted message to see if it contains the command. If your bot responds to messages that users post in the chat room, your bot will need to read and parse the PRIVMSG messages that the server sends the server sends a PRIVMSG message for each message users post in the chat room. To send the reminder, your bot sends a PRIVMSG message (see Sending a message to the chat room). If your bot simply sends out get up and move reminders at specific intervals, your bot can mostly ignore all other messages from the server. The messages your bot sends and receives depends on what your bot does and the Twitch-specific IRC capabilities it requests. Once the server successfully authenticates your bot, the next step is to send a JOIN message to join the chat room that the bot runs in. These messages are used to authenticate the user account that the bot is running under. Normal message flowĪfter connecting to the server, the first messages that all bots must send are the PASS and NICK messages. For a list of supported messages, see Supported IRC messages. While Twitch’s IRC server generally follows RFC1459, it doesn’t support all IRC messages. If you’re not already familiar with them, reading them may help you understand the Twitch IRC server.

mirc download files bot

Twitch’s IRC service is based on RFC1459 and IRCv3 Message Tag specification. For example, bots can provide simple reminders like get up and move or hydrate, or they can perform Twitch actions like banning a user, or they can react to user input.įor a simple example to get you started quickly, see Getting Started. Once connected, bots can send and receive chat messages. Twitch provides an Internet Relay Chat (IRC) interface that lets chatbots connect to Twitch chat rooms using a WebSocket or TCP connection.












Mirc download files bot