Simon_LECLERE

ascii

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