Git Product home page Git Product logo

fury-bot's Introduction

Fury Bot

The Discord Bot for the FLVS Fury School Discord. This bot allows for the FLVS Fury Team to use Discord as the main platform for all students to communicate by removing profanity, links, and other undesirable content.

Overview

Fury Bot runs on a Cog Based Discord.py bot. The bot's job is to make the life of Moderation easier. It does this my handling a lockdown, mute, and auto management system.

This bot will watch for specific features from the messages sent by members within the server, and will auto moderate if nessecary.

Auto Moderation

Fury Bot will take action upon any member who it deems to have posted something inappropriate, such as NSFW content, containing links or attachments, or containing profanity. This is done by using a set of predefined words that are deemed to be inappropriate, and bulding upon that list to cover over 4610 profane words and phrases.

For each auto moderation action taken, Fury Bot will alert the user and the staff of the server that the action has been taken.

Auto Moderation Reason Auto Moderation Action
A profane message has been sent. Lockdown for 5 minutes,
A message has been edited to display profanity. Lockdown for 5 minutes.
A member has mentioned a Role and pinged it. Lockdown for an hour.
A member has mentioned @here or @everyone and pinged it. Lockdown for an hour.
A member has uploaded attachments to their message. The message is deleted, they are warned.
A member has sent a message that is over 700 characters. The message is deleted, they are warned.
A member has sent a message that has links. The message is deleted, they are warned.
A member has sent a profane message in a foreign language. Lockdown for 5 minutes.

Profanity Checker

Fury bot has a complete profanity checker allowing for a list of allowed and denied terms to be set. This means that the profanity checker is completely customizable, allowing for full control via commands.

Link Checker

Similar to the profanity checker, the link checker is completely customizable, allowing for full control via commands. Moderation can set a list of allowed domains, links, etc to be ignored.

Honorable Mention

It's important to note that although a majority of the code inside of this bot is First Hand, there are some elements of it that are not. These are listed below:

  • ./utils/time.py is fully from Rapptz/RoboDanny, with minor type hint modifications and improvements.
  • ./utils/context.py#L54-79 (tick) is also from Rapptz/RoboDanny, with minor type hint modifications and improvements to the function.
  • ./cogs/commands.py#Commands.translate is inspred by Rapptz/RoboDanny/funhouse.py#Funhouse.translate, with improvements to message reference finding.
  • The timer system in ./utils/timers is from Rapptz/RoboDanny, with improvements to typehing, minor bug fixes, and some other optimizations.

fury-bot's People

Contributors

trevorflahardy avatar

Stargazers

 avatar  avatar

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.