Catalog · How the catalog works
pasirclogbot
An attempt at producing an IRC bot that logs a channel's content
- ★ 2 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
Pascal IRC Log Bot
[!Important] Since I was lazy enough to not bother with the boilerplate, I asked some
AIbots to help me.
You can find the collected answers on the research folder.
An attempt at producing an IRC bot that logs a channel's content.
Preamble
In terms of internet protocols we can choose between Indy and Synapse as the libraries available. I decided that I was going to use Indy due to the fact that it already has an IRC client and I didn't want to do all the necessary string parsing for the IRC protocol.
Features
The initial idea is to have all the logging of the IRC channel dumped into a SQLite database. To query the database, the objective is twofold:
- Via commands on
IRC - Via a web site that the bot, itself, serves
Not sure if it's worth having the bot itself serve the website, but due to the fact that SQLite will be locked during the bot's operation, then this will have to be the path, for the time being.
Usage
$ paslogbot -h
Usage:
paslogbot [PARAMS]
PARAMS:
-h/--help This help message.
-c/--config=FILE Use provided FILE as config. ( default: ~/.pasirclogbot )
-d/--debug Turn debug On. (default: Off)[!NOTE] For Windows users you'll find
SQLite.dllfiles under the windows-dll folder.
About the author
I'm usually on irc.libera.chat on the #objectpascal, #lazarus and #pascal channels. On IRC I use the nick name [Batch].

