Skip to content

Commit

Permalink
fix: saving quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
lulu12329 committed Feb 26, 2024
1 parent ad03589 commit b767b09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/command/commands/someone-once-said.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default class SomeoneOnceSaidCommand extends ACommand {
});
return;
}
await arg.deferReply();
let phraseValue = (phrase.value as unknown as string).replaceAll(
'\\n',
'\n',
Expand All @@ -49,7 +50,7 @@ export default class SomeoneOnceSaidCommand extends ACommand {
text: created?.secName ?? created.username,
})
.setTimestamp(created.createdAt);
arg.channel.send({ embeds: [quoteEmbed] });
await arg.editReply({ embeds: [quoteEmbed] });
return true;
}
}

0 comments on commit b767b09

Please sign in to comment.