For example I have several friends who want to use my bot,is it ban able if I host my bot on MIRC and the bot joins their channel and serves them with the commands?
Not in the slightest. What you should beware of is the message rate limit at 100 messages/30 seconds maximum for a modded account. Make sure your bot handles this so that it doesn’t get IP banned.
What you should beware of is the message rate limit at 100 messages/30
seconds maximum for a modded account. Make sure your bot handles this so
that it doesn’t get IP banned.
What is the reliable solution for this?
If i allow 100 Messaegs and reset the counter every 30 sec, it could be possible that:
- Bot resets it’s counter
- No messages yet in my channel.
- Twitch resets it’s counter
- There are 100 Messages in my Channel, Bot blocks next ones
- Bot resets it’y counter
- There are 100 Messages in my Channel, Bot blocks next ones
- Twitch resets it’s counter.
→ because of unsynced “resetting” i’m above the 100msg/30sec
Any experiences on your side?
Does it work reliably with 75msg/30sec or 50msg/15sec as limit in the bot? Or is a minimum timespan between messages better?
You need to count each message separate from each other. If you will do everything propperly - 100\30 will work fine.
Great, thanks!
If you haven’t figured out already, there is no timer to consider - it is always the amount of messages 30 seconds back in time. I’ve posted my solution before:
With mIRC you can simply save data (timestamp, whole message, or just “1”) in hashtable for each sent message for 30 seconds. And you just have to check current size of this hashtable before sending next msg.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.