Commit fbf534c3 authored by Danny SMc's avatar Danny SMc

Updated key

parent d785bfcb
......@@ -186,7 +186,7 @@ function parsemessage(msg, to, from) {
term = msgs[1];
unirest.get("https://mashape-community-urban-dictionary.p.mashape.com/define?term="+term)
.header("X-Mashape-Key", "rTnUnhzFqrmshxY4iMM3Xq5xtERXp12EAa6jsnBd7OnwLQL0Ag")
.header("X-Mashape-Key", "s1AuAIvfKemshN1h6ejrfnaGyKHup1gtSfgjsnfF7SiAakoJiF")
.header("Accept", "text/plain")
.end(function (result) {
......@@ -251,7 +251,8 @@ function parsemessage(msg, to, from) {
"Error 404: Command not found,",
"Great game",
"cAPS LOCK IS ON. cOMMANDS MAY BE cASE-sENSITIVE.",
"[clippy]: It looks like you are trying to enter a command, would you like some help with that?"
"[clippy]: It looks like you are trying to enter a command, would you like some help with that?",
"216: I'm a teapot"
];
bot.say(to, errormsgs[Math.floor(Math.random() * errormsgs.length)]);
......
[INFO]: Starting ShinexusUK Server IRC Bot
[INFO]: Connecting to IRC
[INFO]: Connected
[COMMAND]: !players
[COMMAND]: !status
[COMMAND]: !define nugget
[COMMAND]: !players
[INFO]: Starting ShinexusUK Server IRC Bot
[INFO]: Connecting to IRC
[INFO]: Connected
[COMMAND]: !players
[COMMAND]: !status
[COMMAND]: !define n
[COMMAND]: !define a
[COMMAND]: !define b
[COMMAND]: !define c
[COMMAND]: !define d
[COMMAND]: !define e
[COMMAND]: !define f
Error: Uncaught, unspecified "error" event.
at Error (native)
at Client.emit (events.js:87:13)
at Client.<anonymous> (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:590:26)
at Client.emit (events.js:107:17)
at iterator (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:756:22)
at Array.forEach (native)
at Socket.<anonymous> (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:752:15)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
[COMMAND]: !define g
[COMMAND]: !define h
[COMMAND]: !define i
[COMMAND]: !define j
[COMMAND]: !define k
[COMMAND]: !define l
[COMMAND]: !define m
[COMMAND]: !define n
[COMMAND]: !define o
[COMMAND]: !define p
[COMMAND]: !define q
[COMMAND]: !define r
[COMMAND]: !define s
[COMMAND]: !define t
[COMMAND]: !players
[COMMAND]: !help
[COMMAND]: !commands
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[INFO]: Starting ShinexusUK Server IRC Bot
[INFO]: Connecting to IRC
[INFO]: Connected
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !!
[COMMAND]: !!
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !
[COMMAND]: !mute
[COMMAND]: !unmute
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !status
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !help
[COMMAND]: !status
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !status
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !status
[COMMAND]: !players
[COMMAND]: !players
[COMMAND]: !define noparg
[COMMAND]: !define no
[COMMAND]: !define yes
Error: Uncaught, unspecified "error" event.
at Error (native)
at Client.emit (events.js:87:13)
at Client.<anonymous> (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:590:26)
at Client.emit (events.js:107:17)
at iterator (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:756:22)
at Array.forEach (native)
at Socket.<anonymous> (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:752:15)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at TCP.onread (net.js:538:20)
[COMMAND]: !define hm
Error: Uncaught, unspecified "error" event.
at Error (native)
at Client.emit (events.js:87:13)
at Client.<anonymous> (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:590:26)
at Client.emit (events.js:107:17)
at iterator (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:756:22)
at Array.forEach (native)
at Socket.<anonymous> (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:752:15)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at TCP.onread (net.js:538:20)
[COMMAND]: !define !
[COMMAND]: !define ^
Error: Uncaught, unspecified "error" event.
at Error (native)
at Client.emit (events.js:87:13)
at Client.<anonymous> (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:590:26)
at Client.emit (events.js:107:17)
at iterator (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:756:22)
at Array.forEach (native)
at Socket.<anonymous> (c:\Users\danny\Documents\Danny\Projects\Server_bot\node_modules\irc\lib\irc.js:752:15)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at TCP.onread (net.js:538:20)
[COMMAND]: !commands
[COMMAND]: !define MarcusD
[COMMAND]: !credits
[COMMAND]: !help
[COMMAND]: !commands
[COMMAND]: !info
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment