Skip to main content

๐Ÿ—ณ๏ธ Vote Ban

Vote Ban lets members vote to act against another member. A member replies to a message with /voteban, and if enough members agree before the vote expires, the agent carries out the action you set. A member without ban permission who replies with /ban starts a vote too.

Configurationโ€‹

In the webappโ€‹

Open your workspace, select the Telegram group under Channels in the sidebar, then select Moderation, then the Vote Ban tab. Changes save with the Save bar at the bottom of the page.

In Telegram (bot menu)โ€‹

To access Vote Ban settings:

  1. Use the /settings command in your chat
  2. Navigate to ๐Ÿ›ก๏ธ Moderation โ†’ ๐Ÿ—ณ๏ธ Vote Ban
  3. Use the Toggle Vote Ban option to turn the feature ๐ŸŸข Enabled or ๐Ÿ”ด Disabled

Configuring Vote Ban Settingsโ€‹

Saves Enabledโ€‹

Allows other users to cast a save vote in case someone is being unfairly targeted. If enough save votes are received in time, the action is canceled.

Votes Neededโ€‹

Select the number of votes required to trigger the action.

๐Ÿ”จ: The number of votes needed for a vote to pass. ๐Ÿ˜‡: The number of saves needed for a vote to fail.

Time Limitโ€‹

Specifies the cooldown time (in seconds) before a new vote can be initiated.

Vote Expiry Timeโ€‹

Defines how long (in minutes) a vote remains active before it expires.

๐Ÿ“ Note: If set to 0, the vote will never expire.

Actionโ€‹

You can define the trigger word and choose what action should be taken:

Available actions:

  • Mute: Silence the user temporarily or permanently
  • Kick: Remove the user, allowing them to rejoin
  • Ban: Permanently remove the user from the group
  • โฒ๏ธ Duration: Set the duration (in days) for which the user is restricted.

Additional option:

  • Delete previous messages: To keep the chat clean, you can enable the option to remove that user's previous messages from the group
Message Deletion

This permanently deletes that member's earlier messages in the group.

Vote Ban in Actionโ€‹

Here's how the Vote Ban process works:

Step 1: Initiate Voteโ€‹

A community member types the command /voteban in response to a user's message.

[User2 posts spam]
User1: /voteban

Step 2: Bot Announcementโ€‹

The bot announces the proposal:

"{User1} is proposing to ban {User2}. Do you agree?"

Step 3: Community Votesโ€‹

The group members can choose between two options:

  • Ban: Vote to ban the user
  • Save: Vote to save the user (if saves are enabled)

Step 4: Resolutionโ€‹

Once the required number of votes is reached (for either Ban or Save), the bot takes the corresponding action:

  • Ban: The user is banned from the group
  • Save: The user remains in the group, and the vote is closed
Vote Progress

The bot shows vote progress in real-time, displaying how many votes have been cast and how many are needed.

Troubleshootingโ€‹

Vote command not triggering?

  • Verify Vote Ban is toggled ๐ŸŸข Enabled
  • Ensure the command is used as a reply to a message
  • Verify bot has necessary permissions

Votes not counting?

  • Check if the vote expiry time has passed
  • Verify users are using the correct voting buttons
  • Ensure the same user isn't voting multiple times

Save votes not working?

  • Verify "Saves Enabled" is turned on
  • Check if save threshold is set appropriately
  • Ensure save votes are cast before expiry

Action not executing?

  • Confirm bot has admin privileges
  • Check if bot has permissions for the action (mute/kick/ban)
  • Verify the user being voted on isn't an admin or whitelisted
  • Ensure vote threshold was actually reached

Too many false positive votes?

  • Increase votes needed threshold
  • Enable saves feature
  • Extend vote expiry time for more careful consideration