Skip to content

djohsson/imouto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Imouto

Information


Imouto is an IRC bot which will organize the answers from users to a specified question into files representing the hour of answering.

For instance:

<10:34:55> <userA> what's happening userB?
<10:35:20> <userB> trying to sleep
<10:35:20> <botnick> added that!

Imouto will then add "trying to sleep" to "answerpath/userB/10.txt"

If there is one or more answers in the file, imouto will message the channel a random line from this file.

<10:34:55> <userA> 	what's happening userB?
<10:34:55> <botnick> userB is doing this: working on my irc bot
<10:35:20> <userB> 	trying to sleep
<10:35:20> <botnick> added that!

Usage


To start the bot, type

$ python3 Imouto.py server[:port] #channel nick [configpath]

You will probably need to escape the "#" char. Check the exampleconfig.ini to see how the config is to be used.

After the bot is up and running for the first time, type

/msg botnick addallinchannel

and it will add everyone currently in the channel used. For more information about how the commands work, check the code or msg the bot

/msg botnick help

Requirements


https://github.com/jaraco/irc

Python3 or higher

About

IRC bot keeping track of users' answers to a specific question.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages