Toxic API & Discord bot

An API to detect toxicity in messages and a bot to prevent it.

Table of Contents
  1. About The Project
  2. Usage
  3. Roadmap
  4. Contributing
  5. License
  6. Contact

About The Project

Since the Covid-19 crisis, we have been using instant messaging applications such as Discord and Slack more frequently. We might have toxic encounters on those platforms. The goal of this project is to provide an API to assess the toxicity in a sentence. As an example, a Discord bot was also created to consume the API.

Bot Example

Built With

Azure was used for the CI/CD (Azure Pipelines), and it was also used to host the API using Azure Functions. The API was written in TypeScript using nodejs. The toxicity API was built using Tensorflow and their prebuilt models.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Project Link: https://github.com/vboivin/toxicity

Built With

Share this project:

Updates