diff --git a/main.go b/main.go index e79644c..1557308 100644 --- a/main.go +++ b/main.go @@ -31,22 +31,38 @@ func main() { keybasebot.BotCommand{ Name: "ping", Ad: &cmd.PingAd, - Run: keybasebot.Adapt(cmd.SendPong, keybasebot.MessageType("text"), keybasebot.CommandPrefix("!ping")), + Run: keybasebot.Adapt( + cmd.SendPong, + keybasebot.MessageType("text"), + keybasebot.CommandPrefix("!ping") + ), }, keybasebot.BotCommand{ Name: "age", Ad: &cmd.AgeAd, - Run: keybasebot.Adapt(cmd.Age, keybasebot.MessageType("text"), keybasebot.CommandPrefix("!age")), + Run: keybasebot.Adapt( + cmd.Age, + keybasebot.MessageType("text"), + keybasebot.CommandPrefix("!age") + ), }, keybasebot.BotCommand{ Name: "convert", Ad: &cmd.ConvertAd, - Run: keybasebot.Adapt(cmd.Convert, keybasebot.MessageType("text"), keybasebot.CommandPrefix("!convert")), + Run: keybasebot.Adapt( + cmd.Convert, + keybasebot.MessageType("text"), + keybasebot.CommandPrefix("!convert") + ), }, keybasebot.BotCommand{ Name: "price", Ad: &cmd.PriceAd, - Run: keybasebot.Adapt(cmd.SendPrice, keybasebot.MessageType("text"), keybasebot.CommandPrefix("!price")), + Run: keybasebot.Adapt( + cmd.SendPrice, + keybasebot.MessageType("text"), + keybasebot.CommandPrefix("!price") + ), }, ) // if there are reddit credentials add the reddit commands