talk: Ignore commands
This commit is contained in:
parent
f9f4b17d5c
commit
def40e8bd7
1 changed files with 6 additions and 0 deletions
|
@ -71,6 +71,12 @@ func talk(broker *tg.Broker, update tg.APIMessage) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
text := *(update.Text)
|
text := *(update.Text)
|
||||||
|
|
||||||
|
// Must not be a command
|
||||||
|
if text[0] == '/' {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
quoted := false
|
quoted := false
|
||||||
|
|
||||||
// Make sure it's aimed at Clessy
|
// Make sure it's aimed at Clessy
|
||||||
|
|
Reference in a new issue