Merge pull request #1595 from jbellis/paste

feat: rename /clipboard to /paste
This commit is contained in:
paul-gauthier 2024-09-27 12:31:53 -07:00 committed by GitHub
commit c2c4dbd2a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1039,8 +1039,8 @@ class Commands:
return text
def cmd_clipboard(self, args):
"Add image/text from the clipboard to the chat (optionally provide a name for the image)"
def cmd_paste(self, args):
"Paste image/text from the clipboard into the chat (optionally provide a name for the image)"
try:
# Check for image first
image = ImageGrab.grabclipboard()