Finished event listener (probably)

Listener is in client.c. Changed bot_t struct and the retarded decode_table.