Skip to content

Conversation

@Nydauron
Copy link
Member

Description

If a ping command is run in any other context, then an ephemeral message is sent to notify the user to use run the command in DMs.

The reason behind this change is to have users enable DM messaging between the bot and themselves to allow for Pi-Bot to send messages without 403ing. Previously, a user could set up pings, but unbeknownst to them, they would not be able to receive any pings due to a privacy limitation.

In a future PR, we will think of the option to change the /ping command to be only visible within DMs. See #12

Checks

  • I ran black over the code to ensure formatting.
  • I added docstrings to any new modules, classes, and methods.
  • I updated the docstrings of any updated modules, classes, and methods.
  • I added/updated Python typings for any new/updated class and module.
  • I updated the bot version (if necessary).
  • I ran mypy and reviewed any shown errors related to my changes.

Important Info

  • This pull request adds new pip dependencies.
  • This pull request adds new external dependencies.
  • This pull request changes the required versions of some dependencies.

Issues Closed

My pull request closes the following issues:
N/A

Thank You

Thank you for your contribution to Scioly.org! This pull request will be reviewed
in a promptly manner. If not done, please feel free to contact @cbrxyz.

@Nydauron Nydauron force-pushed the chore/dm-only-ping-command branch from 6638891 to 5d2d553 Compare August 21, 2025 05:54
If a ping command is run in any other context, then an ephemeral message
is sent to notify the user to use run the command in DMs.
@Nydauron Nydauron force-pushed the chore/dm-only-ping-command branch from 5d2d553 to f83928c Compare August 21, 2025 05:57
Copy link
Member Author

@Nydauron Nydauron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Nydauron Nydauron merged commit 66fbee0 into scioly:master Aug 21, 2025
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