working file uploads, starting to clean up code

This commit is contained in:
Syfaro 2015-06-25 11:25:02 -05:00
parent 564e04b9a2
commit 059baffbfb
3 changed files with 331 additions and 168 deletions

2
bot.go
View file

@ -52,6 +52,8 @@ func (plugin *ColonThree) GotCommand(message Message, args []string) {
}
} else {
bot.sendMessage(NewMessage(message.Chat.Id, ":3"))
bot.sendPhoto(NewPhotoUpload(message.Chat.Id, "fox.png"))
}
}