Skip to content

taitai42/irc-bot

Repository files navigation

IRC BOT

this is a simple irc bot written in c. it was written to test the irc protocol, and it can be used as a base to make a more complex bot. actually, it only respond hello world, when given the command !hello

you can use a file named config.cfg to customise the bot

exemple :

name=yourname
host=yourhost
channel=#yourchannel
server=irc.quakenet.org
port=6668

you can also view the full raw log file (bot.log) which contains every exchange made between the bot and the server

TODO

catch sigterm to free the memory and close socket properly. eventually make it portable on windows by using windows socket equivalent ...

About

simple irc bot built in c

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published