mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-30 18:53:30 +00:00
Examples: Fixed advanced_bot bug where it immediately removes its own handlers
This commit is contained in:
parent
1e400dfc27
commit
8c833814ba
|
@ -117,7 +117,7 @@ func Start(token string, cmd interface{},
|
|||
}
|
||||
|
||||
return func() error {
|
||||
cancel()
|
||||
defer cancel()
|
||||
return s.Wait()
|
||||
}, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue