Skip to content

Telegram /stop is not working #122

@rodrigo-brito

Description

@rodrigo-brito

Telegram's command /stop is not working. We define the logic here:

func (c *Controller) Stop() {
if c.status == StatusRunning {
c.status = StatusStopped
c.updateOrders()
c.finish <- true
log.Info("Bot stopped.")
}
}

The idea is:

  • The bot will only execute orders when it is in running status. But it is not working.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions