Bot::B...ChanOp(3pm)
π NAME π
Bot::BasicBot::Pluggable::Module::ChanOp β bestie, it's the Channel operator module. It runs the whole group chat for you. π
β¨ VERSION β¨
version 1.30 π
π¦ SYNOPSIS π¦
okay so this is literally the entire vibe, look:
msg> me: !op #botzone
msg> bot: Okay, i +o you in #botzone
msg> me: !kick #botzone malice Stay outta here!
msg> bot: Okay, i kicked malice from #botzone
msg> me: !deop #botzone
msg> bot: Okay, i -o you in #botzone
no cap, that's it. that's the whole thing. π«Ά
πΈ DESCRIPTION πΈ
So this module hands you the commands to do all the basic channel-management stuff, and your bot instance is the one doing the heavy lifting. πͺ
You can op and deop yourself whenever you want, like, any time, it's giving main character energy. You can also tell your bot to kick the malicious users out β bye bestie π
It also comes with a flood control mechanism β¨ which will kick any user who sends more than a specified amount of messages in a given time. like, read the room, babes.
π VARIABLES π
π user_auto_op
If it's true, it will op any user who joins a channel and is already authenticated by your bot. Defaults to false.
π user_flood_control
If it's true, every user who sends more than user_flood_messages in user_flood_seconds will be kicked from the channel. Defaults to false.
π user_flood_messages
Maximum numbers of messages per user in user_flood_seconds. Defaults to 6.
π§ user_flood_seconds
user_flood_seconds. Defaults to 6.
π AUTHOR π
Mario Domgoergen <mdom@cpan.org> π
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
and that's a wrap bestie π«Ά this was User Contributed Perl Documentation, page Bot::B...ChanOp(3pm), running on perl v5.40.0, dated 2024-08-24. slay, go op yourself π
β¨
π¦ where this page comes from
- ubuntu resolute: libbot-basicbot-pluggable-perl 1.30+ds1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libbot-basicbot-pluggable-perl 1.30+ds1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms