diff --git a/main.go b/main.go index 5e46874..29273cb 100644 --- a/main.go +++ b/main.go @@ -35,6 +35,22 @@ func main() { handlers := keybase.Handlers{ ChatHandler: &chat, } + cmds := keybase.AdvertiseCommandsOptions{ + Alias: "Realm Status", + Advertisements: []chat1.AdvertiseCommandAPIParam{ + { + Typ: "public", + Commands: []chat1.UserBotCommandInput{ + { + Name: "realm", + Description: "Request a Realm's status", + Usage: "!realm Kirin Tor", + }, + }, + }, + }, + } + k.AdvertiseCommands(cmds) k.Run(handlers, &keybase.RunOptions{}) }