Giter Site home page Giter Site logo

r3dg0d / detoxify-discord-py Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 30 KB

A Discord bot that recognizes toxic content with tensorflow.js and removes it, as well as intrigues users with articles from reddit.

discord discord-bot discord-js bot big-data nodejs security tensorflowjs tensroflow vps

detoxify-discord-py's Introduction

Preface

I plan on making a discord bot which automates removing all toxic content as a whole, and ensuring discord servers have a safe, friendly, and joyful community. Without all the negativity, illegal content, etc. which I have noticed on a few discord servers. As well as an emotional detection tool that detects negative emotions, and cheers the user up with memes. Can also detect when a user is bored and send an interesting article from reddit as an embed.

Coded in either node-js or python and hosted on a VPS.

detoxify-discord-js

A Discord bot that has a variety of TOS-friendly features for discord servers.

Features (WIP)

  • Add ping-pong command to test bot in discord client
  • Mess around with different data, SPECIFICALLY Research into discord chat logs.
  • Train emotional based detection for the data with AI.
  • Add a list of negative words that the machine could detect, and act upon based on the data.
  • Make the discord bot detect hatespeech, and other related content, and delete it. (using a dictionary of bad words, slurs, etc.)
  • Make the discord bot flag the data for mods.
  • Add an optional feature where the AI deletes the message and posts something funny like "What he was trying to say, was I need some chicken nuggies" or "Why did the robot cross the road? To learn how to walk... bwahahahaha!"
  • Add a built-in URL to virustotal scan in the bot, that scans all URL's for malware, or uses a built-in link list with links to potential malware URL's.
  • Add a anti-piracy feature that detects if a link to illegal content from thepiratebay or other piracy websites is detected.
  • Detect likelihood of NSFW images and remove them, as well as warn the user why it was removed.

Resources

  1. How to code a Discord bot and run it for free in the cloud: https://www.youtube.com/watch?v=7rU_KyudGBY&t=2924s
  2. Deleting and sending messages: https://www.youtube.com/watch?v=nvgp7FpZ3Gs
  3. Paper on emotional based detection: https://onlinelibrary.wiley.com/doi/full/10.1002/eng2.12189
  4. How to send DM to mods containing info on message: https://stackoverflow.com/questions/61028561/how-to-dm-user-using-discord-js
  5. How to make a Discord Bot React to a message with a flag: https://www.youtube.com/watch?v=VtwkUb4XFMk
  6. Piracy Subreddit (for finding links that pirates use): https://www.reddit.com/r/Piracy/
  7. Steal data for training AI models, specifically discord chat logs
  8. Tensorflow.js preferably with node.js and the discord.js library. Running on a VPS.

detoxify-discord-py's People

Contributors

r3dg0d avatar

Stargazers

 avatar

Watchers

 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.