-
Notifications
You must be signed in to change notification settings - Fork 50
Add kick command #116
Comments
Is it giving any error messages? Check the bot user is admin in the channel and not just server rights. Also create a Thanos/Snap plugin that kicks half the server. HAHAHAHA |
HAHAHA. No error messages. |
@AngeloGiacco kick is not implemented by /Kick you have to use send_raw to implement the protocol from scratch |
@Abdur-rahmaanJ have tried that as well |
When using send_raw the kick message does not appear in the chat. However the terminal does raise an error in the terminal with send_raw. It is the same for "/kick" "/KICK" and "/Kick" |
Don't use the '/' |
Is there a way to check that the bot is channel operator so that i can give an error message in case the bot does not have authority to issue KICK command? |
You'll get back the error ERR_CHANOPRIVSNEEDED. I don't think there is a way to query privileges... |
Okay I'll leave it as is. I've made the russian_roulette plugin code now, will leave the plugin so that somebody can make it as a first contribution. |
if bot admin,
The text was updated successfully, but these errors were encountered: