Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (command === "ascii" && message.content.startsWith(prefix)){
- if(args.join(' ').length > 14) return message.channel.send('Seulement 14 caractères sont autorisés.')
- if (!args.join(' ')) return message.channel.send('Veuillez fournir du texte à convertir en ascii ! Usage: ascii <text>').then(msg => msg.delete({timeout: 10000}));
- figlet(args.join(' '), (err, data) => {
- message.channel.send('```' + data + '```')
- })
- }
Advertisement
Add Comment
Please, Sign In to add comment