Bot: Removed deprecated Wait() API

This commit is contained in:
diamondburned (Forefront) 2020-04-12 11:08:19 -07:00
parent 4e4ebde93a
commit 9411dcc74f
1 changed files with 0 additions and 6 deletions

View File

@ -196,12 +196,6 @@ func New(s *state.State, cmd interface{}) (*Context, error) {
return ctx, nil
}
// Wait blocks until either the Gateway fatally exits or a SIGINT is received.
// Check the Gateway documentation for more information.
func (ctx *Context) Wait() error {
return ctx.Session.Wait()
}
// Subcommands returns the slice of subcommands. To add subcommands, use
// RegisterSubcommand().
func (ctx *Context) Subcommands() []*Subcommand {