Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

xeoth/Afficom

Repository files navigation

Disclaimer

Yeah it's been a while since I made that bot. The code quality is rather poor, and I don't generally recommend you use it. It's an example of code I used to write, and I often use it to compare it against my present code quality to see how much I've learned.


logo

Afficom

You can invite the bot with this invite link

Afficom is a Discord bot I decided to make for the Discord Hack Week. Right now it only has advanced, Tensorflow powered automoderation system, but maybe I'll add more features as the time goes on.

Authors

  • Xeoth#1842

If you wanna join me, DM me 😄

Setting up the bot

  1. Create your app and get the token from the developer portal
  2. Clone the repo onto your computer
  3. Execute npm install
  4. Fill in the token (and optionally change the prefix) in config.json (also change the name from config.json.EXAMPLE to config.json)
  5. Execute node main.js

The bot should be up and running

OR

You can simply invite the bot by clicking this link.

Once you add the bot to your server, it should start working immadiately. A new channel called #afficom-filtered-messages should be created and the bot should send a message to it. If it did, it means that the bot is working and is looking for toxic messages. If, for some reason it didn't, please notify me in the support server and create a channel called #afficom-filtered-messages (the name is important!) by yourself (the bot must have a read and write access to the channel!)