1
0
Fork 0
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:
diamondburned (Forefront) 2020-03-30 18:02:51 -07:00
parent 1e400dfc27
commit 8c833814ba

View file

@ -117,7 +117,7 @@ func Start(token string, cmd interface{},
}
return func() error {
cancel()
defer cancel()
return s.Wait()
}, nil
}