mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 12:44:17 +02:00
feat(arabot): add dm acknowledgement for suggestion
This commit is contained in:
parent
a047ade28f
commit
4f628bb59e
@ -57,6 +57,12 @@ export class Suggestions extends Listener {
|
|||||||
|
|
||||||
await sent.react('👍');
|
await sent.react('👍');
|
||||||
await sent.react('👎');
|
await sent.react('👎');
|
||||||
await sent.react('<:catshrug:917505035196313671>');
|
await sent.react('<:catshrug:917505035196313671>')
|
||||||
|
.catch(() => { sent.react('🤷'); });
|
||||||
|
|
||||||
|
await message.author.send({
|
||||||
|
content: 'Your suggestion has been received!',
|
||||||
|
embeds: [suggestion],
|
||||||
|
}).catch(() => {});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user