Skip to content

feat: Add notification and disconnect on elytra depletion#2

Merged
omtoi101 merged 1 commit into
mainfrom
feature/elytra-out-notification
Sep 19, 2025
Merged

feat: Add notification and disconnect on elytra depletion#2
omtoi101 merged 1 commit into
mainfrom
feature/elytra-out-notification

Conversation

@omtoi101

Copy link
Copy Markdown
Owner

This commit adds a feature to the BaseFinder module that checks if the bot has run out of elytras while the ElytraController is active.

When the bot's chest slot becomes empty, it now performs the following actions:

  • Sends a Discord notification to inform the user that it has run out of elytras.
  • Disconnects from the server with the message "Ran out of elytras."
  • Stops the ElytraController and deactivates the BaseFinder module.

This prevents the bot from falling to its death and ensures the user is alerted to the situation.

This commit adds a feature to the BaseFinder module that checks if the
bot has run out of elytras while the ElytraController is active.

When the bot's chest slot becomes empty, it now performs the following
actions:
- Sends a Discord notification to inform the user that it has run out of
  elytras.
- Disconnects from the server with the message "Ran out of elytras."
- Stops the ElytraController and deactivates the BaseFinder module.

This prevents the bot from falling to its death and ensures the user is
alerted to the situation.
@omtoi101 omtoi101 merged commit 3b7500e into main Sep 19, 2025
0 of 2 checks passed
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.

1 participant