UNPKG

la-cosa-nostra

Version:

A Mafia bot designed to run in Discord - beware the traitors and the lies!

22 lines (17 loc) 452 B
var remarks = [ "What are you even thinking?", "Are you joking me?", "Like, what?", "C'mon dude.", "Do you understand stuff bruh.", "*Facepalm*.", "Eyaaaaah.", "Wut.", "Really, dude?", "Seriously? Are you trying that." ] module.exports = function (prepend_space=false) { // Inserts a sarcastic remark var index = Math.floor(Math.random() * remarks.length); return prepend_space ? " " + remarks[index] : remarks[index]; };