flip.ts (292B)
1 2 3 4 5 6 7 8 9 10 11
// (╯°□°)╯︵ ┻━┻ import FLIPS from '../resources/flips'; const flip = c => FLIPS[c] || c; export default (homescope: HomeScope) => { const { message, args } = homescope; message.channel.send('(╯°□°)╯︵ ' + [...args.join(' ')].map(flip).reverse().join('')); };