Browse Source

cleaning

master
David Haukeness 5 years ago
parent
commit
a1a508e127
  1. 24
      main.go

24
main.go

@ -31,22 +31,38 @@ func main() { @@ -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

Loading…
Cancel
Save