projects
/
sylphiette-bot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a189b58
)
removed debug loop, only overhead when debuging
author
Eduardo
<
[email protected]
>
Thu, 28 Mar 2024 19:36:19 +0000
(20:36 +0100)
committer
Eduardo
<
[email protected]
>
Thu, 28 Mar 2024 19:36:19 +0000
(20:36 +0100)
bot.go
patch
|
blob
|
history
diff --git
a/bot.go
b/bot.go
index efc08e04386e580ac99a87f88cb18ff7125f7ff7..1bc9e91c962e599c6a8715ce5d8d2e3433297cfe 100644
(file)
--- a/
bot.go
+++ b/
bot.go
@@
-84,10
+84,9
@@
func main() {
return
}
+ discord.LogLevel = discordgo.LogInformational
if DEBUG {
discord.LogLevel = discordgo.LogDebug
- } else {
- discord.LogLevel = discordgo.LogInformational
}
discord.AddHandlerOnce(ready)
discord.AddHandlerOnce(guildCreated)