Simp-O-Matic

Dumb Discord bot in TS.
git clone git://git.knutsen.co/Simp-O-Matic
Log | Files | Refs | README | LICENSE

roll.ts (151B)


1
2
3
4
export default (homescope: HomeScope) => {
	const { message, args } = homescope;
	message.reply(Math.floor(Math.random() * ((+args[0] || 6) + 1)));
};