Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor nostr bot command handling + block some in maintenance mode #318

Conversation

coyotte508
Copy link
Collaborator

  • Refactor nostr command handling. This will make editing the bot easier, new commands are automatically added to "help", command arguments are automatically parsed, ...
  • Block some commands in maintenance mode
  • Add a tag to messages sent by a bootik. In prevision of Manage association request from another Bootik #169 and so on. The tag contains the protocol version, and avoids autoreplies from misunderstood commands (when bootiks will communicate w/ each other).
  • Also set the protocol version in the public metadata of the bootik

@coyotte508 coyotte508 linked an issue Jul 13, 2023 that may be closed by this pull request
@coyotte508 coyotte508 merged commit be7638e into main Jul 13, 2023
@coyotte508 coyotte508 deleted the 304-disable-some-nostr-bot-commands-when-bootik-is-in-maintenance-mode branch July 13, 2023 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable some nostr-bot commands when bootik is in maintenance mode
1 participant