• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Sinusbot is crashing by users who flood some commands in chat

Status
Not open for further replies.

n0ns.

Member
Operating System: Windows / Linux
SinusBot Version: 0.9.21-87a90ce
TS3 Version
: 3.0.19.4 on Linux

Problem Description

Hello, I'm having trouble with sinusbot. In fact my VPS system crashes with CPU usage at 100% due to the flood of comanos in the chat. They are commands like that of the Youtube Search plugin, where a user can ask to play a song through the command "!youtube <name of music>". But some malicious users flood this command and the server crashed a few seconds later. I would like to know if there is any way to add a variable in seconds for the BOT to tolerate before obeying the next command. Like, a user uses a chat command, and if they type another command in less than 10 seconds the sinusbot would ignore it. If you had how to create an script with this function would be very useful to everyone!
 
Status
Not open for further replies.
Top