An open API service indexing awesome lists of open source software.

https://github.com/midnightdoggo19/guesser

A Discord bot using AI to try and guess who sent a message
https://github.com/midnightdoggo19/guesser

ai bot discord

Last synced: 2 months ago
JSON representation

A Discord bot using AI to try and guess who sent a message

Awesome Lists containing this project

README

        

# Guesser
Guesser is a Discord bot that can download a channel and train an AI model on it in order to guess which user sent a message.

## Installation

### Clone the repository:

git clone https://github.com/midnightdoggo19/guesser.git
cd guesser

### Install dependencies:

pip install -r requirements.txt
npm install

#### Copy example.env and add your bot's information, and rename it to ".env". This includes:

  • TOKEN - Your bot token

  • ID - Your bot ID

  • LOG - The file to log to (default: guess.log)

  • DATASET - Used by main.js and train.py as the csv to save the channel text & usernames too

  • WORKINGCHANNEL - The channel the bot should respond in

  • EMOJIS - emojis to be used as "thinking" reactions

  • LOGLEVEL - how much the logs should say
  • ##### Run the bot:

    npm run register
    npm start

    ## Usage
    ### Commands
    /archive - Exports the current channel as a .csv file for use in training the model.
    /retrain - Makes use of the exported .csv file to train the model.
    /remove - Removes a user from the dataset.
    /ping - Ping the bot

    ### Guessing
    In order to have the bot start guessing, send a message in the channel defined in `.env`! It'll process the message and try and guess who sent it.