Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.
/ diodon Public archive

Diodon is a discord bot that learn from your sentences to make his own (project moved to https://gitlab.com/keftcha/diodon)

License

Notifications You must be signed in to change notification settings

Keftcha/diodon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diodon

Diodon is a discord bot that learn from your sentences to make his own.

Presentation

This discord bot learn form your message and make sentences with a markov chain algorithm.

Usage

You have nothing to do to make him learn.
He will answer you when you mention him (or by changing his talkiness).

Envorinment variable (cf. .env file)

The .env file can be filled with the help of the .env.tpl file.

Variables

The DISCORD variable is the discord token needed to connect to discord

The TALKINESS variable will define the frequency the bot answer by him self to your messages. It should be a float. When a message is send a random number in the interval [0.0, 1.0[ will be choosen. If the choosen number is lower to the TALKINESS the bot will spead (that mean higher is more talkiness).

The CONNECTION_STRING variable is given to the markovchaingo lib.
Here the docker compose is made to work with the file:///data.json connection string and it is a volume to the data.json file at the root of the project (the data.json file isn't commited).
Be pleased to fork and modify the bot for your need.

About

Diodon is a discord bot that learn from your sentences to make his own (project moved to https://gitlab.com/keftcha/diodon)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published