mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-03 23:36:35 +02:00
21 lines
612 B
JavaScript
21 lines
612 B
JavaScript
const { EmbedBuilder } = require('discord.js');
|
|
const Zalgo = require('to-zalgo')
|
|
|
|
module.exports = {
|
|
name: 'zalgo',
|
|
aliases: ['zlg'],
|
|
description: 'Convertissez vos textes en Zalgo',
|
|
usage: 'zalgo <text>',
|
|
async execute(message, args, client) {
|
|
|
|
message.channel.send({embeds: [ new EmbedBuilder()
|
|
.setAuthor({name: message.author.tag})
|
|
.setTitle(`Votre texte: ${args.join(" ")}`)
|
|
.setDescription(`${Zalgo(args.join(" "))}`)
|
|
.setFooter({ text: `${client.user.username}` })
|
|
.setTimestamp()]}
|
|
|
|
)
|
|
|
|
}
|
|
} |