IRC bot to Minecraft Pi thingy
A few years ago, Linux Voice published a really simple IRC bot project in the magazine. I took this and managed to get it to connect to a minecraft Pi game and I could use IRC to send instructions to the game.
In the screenshot below the bot has received an instruction to execute uname -a and the output is directed to the game screen.
To get all this to work you need:-
- An IRC client
- A raspberry pi which should be running Minecraft Pi and the python program, once the game has started the bot should connect.
You also need to connect to either:-
- An existing IRC server or
- Your own irc server, which can be another Raspberry Pi on the same network running an IRC server.
note You need to ask if it is Ok to connect bots to IRC servers.
In my code it is connecting to a Raspberry Pi (original model) running an IRC server.
It does work, but there is probably potential here for expansion and improvement.