derps
This commit is contained in:
parent
1249831508
commit
4ea998543b
2
boot.sh
2
boot.sh
@ -2,7 +2,7 @@
|
||||
export NVM_DIR="/home/gz/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
nvm use node
|
||||
nvm use default
|
||||
|
||||
while true; do
|
||||
echo starting node... $(date)
|
||||
|
@ -158,7 +158,7 @@ p.run = function (o) {
|
||||
client.say(o.to, o.from + ": dein level: " + userLevelNames[level] + ", benötigtes level: voiced");
|
||||
return true;
|
||||
}*/
|
||||
s.run(sbhead + o.args, function (out) {
|
||||
s.run(sbhead + o.args + "+\"\"", function (out) {
|
||||
let con = out.console.length > 0 ? " and printed to console: " + out.console : "";
|
||||
let text = (out.result + con).replace(/[\r\n\t]/g, " ");
|
||||
client.say(o.to, o.from + " it returned: " + (text.length > 400 ? "fuck you" : text));
|
||||
|
3
index.js
3
index.js
@ -1,5 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
const Raven = require('raven');
|
||||
Raven.config('https://10749fc75fc14fc5aa6b6212adbfe9ec:c291a65aa6014bb781232e0995f7a81d@sentry.njgz.de/4').install();
|
||||
|
||||
const Irc = require("irc");
|
||||
const Mysql = require("mysql");
|
||||
|
||||
|
@ -9,9 +9,10 @@
|
||||
"author": "gz",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"google": "^2.0.0",
|
||||
"irc": "^0.5.0",
|
||||
"mysql": "^2.10.2",
|
||||
"google": "^2.1.0",
|
||||
"irc": "^0.5.2",
|
||||
"mysql": "^2.13.0",
|
||||
"raven": "^1.2.0",
|
||||
"sandbox": "^0.8.6"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user