Message structs

Define the structs for all possible messages. Copied from redefiance’s
bot.