mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-24 22:25:05 +02:00
trop de truc pour tout ecrire
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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()]}
|
||||
|
||||
)
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user