mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 18:29:14 +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}
|
${memorizeDisplay}
|
||||||
`);
|
`);
|
||||||
await delay(10000);
|
await delay(10000);
|
||||||
if (memorizeMsg.deletable) await memorizeMsg.delete();
|
await memorizeMsg.edit('Type what you saw. Don\'t worry about formatting, just the words.');
|
||||||
await msg.say('Type what you saw. Don\'t worry about formatting, just the words.');
|
|
||||||
const memorizeType = memorize.join(' ');
|
const memorizeType = memorize.join(' ');
|
||||||
const msgs = await msg.channel.awaitMessages(res => msg.author.id === res.author.id, {
|
const msgs = await msg.channel.awaitMessages(res => msg.author.id === res.author.id, {
|
||||||
max: 1,
|
max: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user