chat-defender-bot

A Discord Bot to prevent cyberbullying and hate speech in chatrooms

https://github.com/vamsitadikonda/chat-defender-bot

Science Score: 28.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

A Discord Bot to prevent cyberbullying and hate speech in chatrooms

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 4
  • Open Issues: 2
  • Releases: 0
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

Chat-Defender-bot

License Build DOI GitHub Release Python GitHub issues GitHub closed issues Lines of code codecov Repo Size contributors commit-activity pull-requests-open pull-requests-closed languages forks

About

Chat-Defender-bot : A Discord Bot to prevent cyberbullying and hate speech in chatrooms.

The chat bot built in this project evaluates the text data whenever a message is sent onto the the discord group. If any offensive behaviour is observed, the user will be warned initially, before they are banned from the chat group. A user who receives a warning can apologize to the others in the group if they do not want to be further penalized later for the offense. Their behaviour data will be updated accordingly in the database. The database keeps updating based on the user inputs on which words should be considered as profanity. This bot can be highly customized according to the needs of the chat group, and has a huge scope of users.

Implementation Steps

Refer to INSTALL.md for detailed implementation steps

Video Link

https://drive.google.com/file/d/1LNjVeSV3JWVeWBLr11941LlmDSVAg8/view?usp=sharing

Future Scope

1) The in-build detoxify() function being used in this project is highy sensitive, so a model can be developed to adapt better to real world conversations, using desired datasets. 2) The message data that is being evaluated in the current model is text. This can be expanded to detect profanity through other input sources such as image, video, GIF, etc. 3) The current model can be extended to detect spam users 4) Pre-evaluate a message at sender before posting 5) In the curent system, the bot has complete control over identifying profanity. As the model can be wrong at times, moderators can be introduced to check the model performance. 6) Similar to the profanity checker that is being implemented, an apology checker can also be developed to better identify apologies.

Tech Stack

python Python
MySql MySql
Docker Docker
Check out our code documentation here

Group Info

1) Bharath Katabathuni (bkataba) 2) Bapiraju Vamsi Tadikonda (btadiko) 3) Vinay Kumar Reddy Perolla (vperoll) 4) Sai Sree Nalluru (snallur) 5) Swimitha Reddy Buchannolla (sbuchan2)

Citation (CITATION.md)

[![DOI](https://zenodo.org/badge/543915548.svg)](https://zenodo.org/badge/latestdoi/543915548)

Version: 1.0.0

Authors:
  
Bharath Katabathuni
Bapiraju Vamsi Tadikonda
Vinay Kumar Reddy Perolla
Sai Sree Nalluru
Swimitha Reddy Buchannolla  

License: BSD 2 Clause License.

GitHub Events

Total
  • Watch event: 1
  • Fork event: 1
Last Year
  • Watch event: 1
  • Fork event: 1

Dependencies

requirements.txt pypi
  • detoxify *
  • discord.py *
  • mock *
  • mysql-connector-python *
  • pytest *
  • python-dotenv *
.github/workflows/pages.yml actions
  • actions/checkout v3 composite
  • actions/configure-pages v2 composite
  • actions/deploy-pages v1 composite
  • actions/setup-python v3 composite
  • actions/upload-pages-artifact v1 composite
.github/workflows/python-app.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • codecov/codecov-action v2 composite
Dockerfile docker
  • python 3 build
docker-compose.yml docker
  • adminer latest
  • discord-bot latest
  • mysql latest