JSFiddle - React, Tailwind, and code Playground
by Ace Tributon
JavaScript
"use-strict";
/* Get your bot's secret token from: */
/* https://discordapp.com/developers/applications/ */
/* Click on your application -> Bot -> Token -> "Click to Reveal Token" */
bot_secret_token="NTkzMTg3NjMyNDQwMTQ3OTgy.XR5XOQ.T3KNnh3vV49x6cJ1k_E8oEYNF7g";
var
djs=require('discord.js'),
client=new djs.Client(),
$$=(...para)=>para.join(''),
effective=(use,i)=>use[i]*weight[i],
boxed=(...content)=>"```"+content.join(`
`)+"```",
loops=(item,output)=>{var i=item.length;while(i--){output.call(item[i],i)}},
filterWord=item=>item.replace(/[^a-zA-Z0-9]|\s/g, '').toLowerCase(),
retMsg=(e,item)=>e.content.includes(item),
getMsg=(e,lower)=>filterWord(e.content).includes(filterWord(lower)),
sendMsg=(e,sending)=>e.channel.send(`**${e.author.toString()}**, ${sending}`),
boxLineBreak=`
`,
help=$$(
'Here are some directions Ace gave me >...< :',
boxed(
'Include these into your sentences for me to understand:',
"-> how much bite force does the dino",
"-> how much health does the dino",
"-> how heavy is the dino",
"-> how fast is the dino",
"-> what dino tier is the dino",
"-> what kind of diet does the dino",
'When it says include, it means to add to your sentence',
'like: How much health does the dino have',
'Whatever is grammarly correct for you, Orophia wont feel offended! >_<',
'Also, Ace only allows max grown dino for my brain to process, give me food ACE!')),
dinoName=[
"Oro","Velo","Taco","Ava",
"Trike","Galli","Dibble","Maia","Pachy","Para","Dryo",
"Anky","Cama","Theri","Stego","Shant","Pue",
"Allo","Cera","Carno","Dilo","Giga","Sucho","Utah","Rex",
"Alberto","Herrera","Acro","Bary","Spino","Austro"
],
properName=[
"Orodromeus","Velociraptor","Psittacosaurus","Avaceratops",
...