Coder Social home page Coder Social logo

raadsl / betterban Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 36.49 MB

Discord.py bot that can ban users that aren't in your server

License: GNU General Public License v3.0

Python 97.61% Nix 0.01% HTML 0.07% PowerShell 0.05% Shell 0.02% Cython 0.68% C++ 0.27% C 1.28% Fortran 0.01% Nu 0.02%

betterban's Introduction

BetterBan Discord Bot

BetterBan is a Discord bot focused on improving the banning experience by providing additional features such as temp bans, sticky roles, and more. It's designed to provide server administrators with more control over their server's moderation.

Features

  • Temp bans: Ban users temporarily and automatically unban them after the specified duration.
  • Sticky roles: Assign a role to a user that persists even if they leave and rejoin the server.
  • Custom ban list: Ban users by their ID, even if they are not currently in the server.
  • Ban management: View and remove warnings and bans.
  • Logging: Set a custom logging channel for the bot's events.
  • Error handling: Error IDs for easy reporting and resolution.
  • And more...

Installation

  1. Click on the invite link to invite the bot to your server.
  2. Grant the bot the necessary permissions.
  3. Once the bot is in your server, set up the log channel using the !set_log_channel command followed by the channel mention where you want to log events. For example: !set_log_channel #bot-log
  4. Use /help to see all the available commands.
  5. if you're in the mood, vote for the bot!

Commands

  • /help - Shows a list of available commands and their descriptions.
  • /bban - Bans a user from your guild, even if they aren't in your server!
  • /unbban - Unbans a user if they were Bbanned.
  • /listbban - Gets a list of all the bbanned users.
  • /tempban - Temporarily bans a user.
  • /viewwarns - View all the warnings of a user.
  • /removewarn - Remove a warning from a user.
  • /set_sticky_role - Set a sticky role for a user that persists even after they leave and rejoin the server.
  • /invite - Get the invite link for the bot.
  • /leave - [Bot owner only] Makes the bot leave the guild.
  • /warn - Warn a user.
  • /info - Get some info about the bot.
  • /set_log_channel - Set the channel to log messages of the bot.
  • /remove_all_bban - Removes all BBanned users.

Support

If you encounter any issues or have any questions, please open an issue on GitHub.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.