mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
use the userid from the config instead of a hard coded one
This commit is contained in:
parent
b43acc7bf4
commit
0f8ebc170c
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't act on bots own messages.
|
// Don't act on bots own messages.
|
||||||
if message.Tags["user-id"] == "596581605" {
|
if message.Tags["user-id"] == conf.BotUserId {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue