Skip to content

Instantly share code, notes, and snippets.

@blizzarddreams
Created November 14, 2015 13:56
Show Gist options
  • Select an option

  • Save blizzarddreams/dedf645866ab1e0e73d3 to your computer and use it in GitHub Desktop.

Select an option

Save blizzarddreams/dedf645866ab1e0e73d3 to your computer and use it in GitHub Desktop.
var TechCode = {};
TechCode.prototype.askQuestion = function(question) {
switch (question) {
case /ps (bot|server|client)/:
return "If you need help modifying, running, or setting up a server, bot, or client, you probably shouldn't be running one.";
break;
case 'question':
return "Don't ask to ask. Ask your question and if someone can help they'll answer.";
break;
case 'learn':
return ["https://codecademy.com", "https://stackoverflow.com", "https://google.com"];
break;
default:
return "I can't answer that question.";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment