---
name: "Bot::BasicBot::Pluggable::Module::ChanOp"
section: "3pm"
platform: "linux"
package: "libbot-basicbot-pluggable-perl"
version: "1.30+ds1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Bot::BasicBot::Pluggable::Module::ChanOp"
---

# Bot::BasicBot::Pluggable::Module::ChanOp(3pm)

Channel operator

## NAME

Bot::BasicBot::Pluggable::Module::ChanOp - Channel operator

## VERSION

version 1.30

## SYNOPSIS

```
  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
```

## DESCRIPTION

This module provides commands to perform basic channel management functions with the help of your bot instance. You can op and deop yourself any time, ask your bot to kick malicious users. It also provides a flood control mechanism, that will kick any user who send more than a specified amount of mesasges in a given time.

## VARIABLES

### user\_auto\_op

If true, it will op any user who joins a channel and is already authenticated by your bot. Defaults to false.

### user\_flood\_control

If 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.
