We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc5a81d + ed7722c commit d1c8d9cCopy full SHA for d1c8d9c
src/modules/playground.ts
@@ -101,7 +101,10 @@ export class PlaygroundModule extends Module {
101
const exec = PLAYGROUND_REGEX.exec(msg.content);
102
if (msg.author.bot || !this.editedLongLink.has(msg.id) || exec) return;
103
const botMsg = this.editedLongLink.get(msg.id);
104
- await botMsg?.edit('');
+ // Edit the message to only have the embed and not the "please edit your message" message
105
+ await botMsg?.edit('', {
106
+ embed: botMsg.embeds[0],
107
+ });
108
this.editedLongLink.delete(msg.id);
109
}
110
0 commit comments