mirror of
https://github.com/MedzikUser/go-cdn
synced 2024-08-15 03:19:36 +00:00
Fixed lint error
This commit is contained in:
parent
87933a3f92
commit
b30d28ac0e
1 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,10 @@ func Bot() {
|
||||||
// DMIntents: disgord.IntentDirectMessages | disgord.IntentDirectMessageReactions | disgord.IntentDirectMessageTyping,
|
// DMIntents: disgord.IntentDirectMessages | disgord.IntentDirectMessageReactions | disgord.IntentDirectMessageTyping,
|
||||||
})
|
})
|
||||||
|
|
||||||
defer client.Gateway().StayConnectedUntilInterrupted()
|
defer func() {
|
||||||
|
err := client.Gateway().StayConnectedUntilInterrupted()
|
||||||
|
common.CheckErr(err, "stay bot connection")
|
||||||
|
}()
|
||||||
|
|
||||||
filter, _ := std.NewMsgFilter(ctx, client)
|
filter, _ := std.NewMsgFilter(ctx, client)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue