Dougley / MegaBot

Discord bot that interacts with Zendesk Community
GNU Affero General Public License v3.0
1 stars 0 forks source link

Duping the same post #149

Closed Benricheson101 closed 4 years ago

Benricheson101 commented 5 years ago

Describe the bug You are able to mark the same post as a dupe of itself

To Reproduce Steps to reproduce the behavior:

  1. Get a post URL
  2. Try to dupe it into itself (ex): !d url sameurl
  3. It will work the same as a normal dupe would

Expected behavior It will notify you that you are trying to dupe the same post into itself.

Screenshots 6A726AE7-7975-4EBB-83D0-92766F7F38C0

Additional context This only happens with urls, IDs notify you that you have the same post twice.

Zacatero commented 5 years ago

I am able to reproduce https://cdn.discordapp.com/attachments/555201895019446272/587844222648844288/Screenshot_20190610-231753_Discord.jpg

Dougley commented 4 years ago

Fixed since https://github.com/Dougley/MegaBot/commit/36b871606936f33c757003c4cb3b2c62d9a75517