mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Edit memory message instead of deleting it
This commit is contained in:
@@ -36,8 +36,7 @@ module.exports = class MemoryCommand extends Command {
|
||||
${memorizeDisplay}
|
||||
`);
|
||||
await delay(10000);
|
||||
if (memorizeMsg.deletable) await memorizeMsg.delete();
|
||||
await msg.say('Type what you saw. Don\'t worry about formatting, just the words.');
|
||||
await memorizeMsg.edit('Type what you saw. Don\'t worry about formatting, just the words.');
|
||||
const memorizeType = memorize.join(' ');
|
||||
const msgs = await msg.channel.awaitMessages(res => msg.author.id === res.author.id, {
|
||||
max: 1,
|
||||
|
||||
Reference in New Issue
Block a user