-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GithubCommand: Edit initial reply if successful
Making the initial deferred reply ephemeral caused the follow-up messages to show an ugly "Message could not be loaded" at the top, since the ephemeral message was deleted. And even if we didn't delete it, other users would not be able to load it. This changes the initial reply to be visible to everyone and get edited on success. On failure, the initial reply is deleted again and a follow-up ephemeral message is posted to the user.
- Loading branch information
Showing
1 changed file
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters