This commit is contained in:
Zachary Huang 2022-12-30 12:46:28 -05:00 committed by GitHub
commit 66bf00b89f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -788,6 +788,8 @@ class Interface
if message_text.length <= 1
Display.say 'Empty message, not updating...'
elsif message_text == message.message
Display.say 'No change made, not updating...'
else
Message.edit(message_text, message)
Display.say 'Message edited!'