Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Use threading.Event to gracefully stop on CTRL+C #49

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

benpbo
Copy link

@benpbo benpbo commented Jun 30, 2024

Makes it so that CTRL+C needs to be pressed only once to stop the bot

benpbo and others added 15 commits June 16, 2024 19:44
Remove service lists from Parser and Burger bot and instead pass the
services to `Parser.parse()` method in order to have a single source of
truth when parser.
This fixes the issue where a user adds a service but it isn't parsed
until the bot is restarted.
Fix services not updated for parsing
Use `logging.exception()` instead of `logging.error()`.
Add `\` before every `(`, `)` and `-`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant