Skip to content

soulaklabs/tofbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

584 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is tofbot

"oh, don't ask why"

Configure and run

The bot reads its configuration from the environment. Relevant variables:

Variable        Default if unspecified  Comment
TOFBOT_SERVER   irc.libera.chat        -
TOFBOT_PORT     6667                    -
TOFBOT_CHAN     #soulaklabs              Accepts a comma separated list
TOFBOT_NICK     tofbot                  -
TOFBOT_PASSWD   -                       -
TOFBOT_DEBUG    -                       set to 1 to enable debug output
TOFBOT_TIMEOUT  240                     Exit if server does not ping

Launch:

pip install .
TOFBOT_CHAN="#soulaklabs" TOFBOT_NICK="tofbotdev" tofbot

Check code-style, test, profit:

pip install -e .[test]
ruff format
ruff check
pytest

Test coverage:

coverage python3 -m pytest
coverage report

About

Un bot IRC qu'il est bonne ambiance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages