feat: quote #42
1 changed files with 3 additions and 1 deletions
|
@ -80,7 +80,9 @@ export default async (message: Message, client: Client) => {
|
|||
).filter(Boolean);
|
||||
|
||||
const loc = getLocale(client, client.config.default_lang);
|
||||
messages.map(quoted_post => {
|
||||
|
||||
// Remove duplicates
|
||||
[...new Set(messages)].map(quoted_post => {
|
||||
const embed = new MessageEmbed()
|
||||
.setColor('#2f3136')
|
||||
.setAuthor({
|
||||
|
|
Loading…
Reference in a new issue