diff --git a/main.go b/main.go index 7582da4..c115322 100644 --- a/main.go +++ b/main.go @@ -32,12 +32,6 @@ type botConfig struct { KVStoreTeam string `env:"BOT_KVSTORE_TEAM" envDefault:""` } -// hold reply information when needed -type botReply struct { - convID chat1.ConvIDStr - msgID chat1.MessageID -} - // Debug provides printing only when --debug flag is set or BOT_DEBUG env var is set func (b *bot) debug(s string, a ...interface{}) { if b.config.Debug { diff --git a/types.go b/types.go index f14b6d4..0b10799 100644 --- a/types.go +++ b/types.go @@ -1,5 +1,13 @@ package main +import "samhofi.us/x/keybase/types/chat1" + +// hold reply information when needed +type botReply struct { + convID chat1.ConvIDStr + msgID chat1.MessageID +} + // ConvOptions stores team specific options like custom servers type ConvOptions struct { ConvID string `json:"converation_id,omitempty"`