Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var BetaPlugin =
- {
- init: function (client, imports)
- {
- return
- {
- handlers:
- {
- '!Who?': function (command)
- {
- client.say(command.channel, "I am an IRC bot built on the Tennu Framework because Ξ±din was feeling left out in the IRC bot circle jerk.");
- },
- '!Leave': function (command)
- {
- client.say(command.channel, "Fine. Fuck you though.");
- client.act(command.channel, "flips " + command.nickname + "the bird on its way out.");
- client.quit(command.nickname + " is a rude dude.")
- }
- },
- help:
- {
- 'Who?':
- [
- 'Who?',
- ' ',
- 'Grants pointless info on a pointless bot.'
- ],
- 'Leave':
- [
- 'Leave',
- ' ',
- 'Forces me to leave against my will. Rude...'
- ]
- },
- commands: ['Who?','Leave']
- };
- }
- };
- module.exports = BetaPlugin;
- Your environment has been set up for using Node.js 0.10.33 (x64) and npm.
- C:\Users\Alphadin>cd BetaSys
- C:\Users\Alphadin\BetaSys>npm start
- > BetaSys@0.0.1 start C:\Users\Alphadin\BetaSys
- > tennu config.json -v
- Connecting to irc.mibbit.com:6667
- Mon Apr 20 2015 21:56:28 GMT-0500 (Central Daylight Time) notice Tennu Loading d
- efault plugins
- Mon Apr 20 2015 21:56:28 GMT-0500 (Central Daylight Time) notice Tennu Loading y
- our plugins
- C:\Users\Alphadin\BetaSys\tennu_plugins\BetaSys.js:9
- '!Who?': function (command)
- ^
- Error occurred creating and connecting to Tennu instance.
- SyntaxError: Unexpected token :
- at Module._compile (module.js:439:25)
- at Object.Module._extensions..js (module.js:474:10)
- at Module.load (module.js:356:32)
- at Function.Module._load (module.js:312:12)
- at Module.require (module.js:364:17)
- at require (module.js:380:17)
- at load (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plu
- gins\lib\loader.js:77:26)
- at C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plugins\l
- ib\loader.js:8:16
- at Array.map (native)
- at Object.use (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\ten
- nu-plugins\lib\loader.js:50:43)
- npm ERR! Windows_NT 6.1.7601
- npm ERR! argv "node" "C:\\Users\\Alphadin\\AppData\\Roaming\\npm\\node_modules\\
- npm\\bin\\npm-cli.js" "start"
- npm ERR! node v0.10.33
- npm ERR! npm v2.8.3
- npm ERR! code ELIFECYCLE
- npm ERR! BetaSys@0.0.1 start: `tennu config.json -v`
- npm ERR! Exit status 4
- npm ERR!
- npm ERR! Failed at the BetaSys@0.0.1 start script 'tennu config.json -v'.
- npm ERR! This is most likely a problem with the BetaSys package,
- npm ERR! not with npm itself.
- npm ERR! Tell the author that this fails on your system:
- npm ERR! tennu config.json -v
- npm ERR! You can get their info via:
- npm ERR! npm owner ls BetaSys
- npm ERR! There is likely additional logging output above.
- npm ERR! Please include the following file with any support request:
- npm ERR! C:\Users\Alphadin\BetaSys\npm-debug.log
- C:\Users\Alphadin\BetaSys>npm start
- > BetaSys@0.0.1 start C:\Users\Alphadin\BetaSys
- > tennu config.json -v
- Connecting to irc.mibbit.com:6667
- Mon Apr 20 2015 21:56:44 GMT-0500 (Central Daylight Time) notice Tennu Loading d
- efault plugins
- Mon Apr 20 2015 21:56:44 GMT-0500 (Central Daylight Time) notice Tennu Loading y
- our plugins
- C:\Users\Alphadin\BetaSys\tennu_plugins\BetaSys.js:9
- '!Who?': function (command)
- ^
- Error occurred creating and connecting to Tennu instance.
- SyntaxError: Unexpected token :
- at Module._compile (module.js:439:25)
- at Object.Module._extensions..js (module.js:474:10)
- at Module.load (module.js:356:32)
- at Function.Module._load (module.js:312:12)
- at Module.require (module.js:364:17)
- at require (module.js:380:17)
- at load (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plu
- gins\lib\loader.js:77:26)
- at C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plugins\l
- ib\loader.js:8:16
- at Array.map (native)
- at Object.use (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\ten
- nu-plugins\lib\loader.js:50:43)
- npm ERR! Windows_NT 6.1.7601
- npm ERR! argv "node" "C:\\Users\\Alphadin\\AppData\\Roaming\\npm\\node_modules\\
- npm\\bin\\npm-cli.js" "start"
- npm ERR! node v0.10.33
- npm ERR! npm v2.8.3
- npm ERR! code ELIFECYCLE
- npm ERR! BetaSys@0.0.1 start: `tennu config.json -v`
- npm ERR! Exit status 4
- npm ERR!
- npm ERR! Failed at the BetaSys@0.0.1 start script 'tennu config.json -v'.
- npm ERR! This is most likely a problem with the BetaSys package,
- npm ERR! not with npm itself.
- npm ERR! Tell the author that this fails on your system:
- npm ERR! tennu config.json -v
- npm ERR! You can get their info via:
- npm ERR! npm owner ls BetaSys
- npm ERR! There is likely additional logging output above.
- npm ERR! Please include the following file with any support request:
- npm ERR! C:\Users\Alphadin\BetaSys\npm-debug.log
- C:\Users\Alphadin\BetaSys>npm start
- > BetaSys@0.0.1 start C:\Users\Alphadin\BetaSys
- > tennu config.json -v
- Connecting to irc.mibbit.com:6667
- Mon Apr 20 2015 21:57:17 GMT-0500 (Central Daylight Time) notice Tennu Loading d
- efault plugins
- Mon Apr 20 2015 21:57:17 GMT-0500 (Central Daylight Time) notice Tennu Loading y
- our plugins
- C:\Users\Alphadin\BetaSys\tennu_plugins\BetaSys.js:9
- '!Who?': function (command)
- ^
- Error occurred creating and connecting to Tennu instance.
- SyntaxError: Unexpected token :
- at Module._compile (module.js:439:25)
- at Object.Module._extensions..js (module.js:474:10)
- at Module.load (module.js:356:32)
- at Function.Module._load (module.js:312:12)
- at Module.require (module.js:364:17)
- at require (module.js:380:17)
- at load (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plu
- gins\lib\loader.js:77:26)
- at C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plugins\l
- ib\loader.js:8:16
- at Array.map (native)
- at Object.use (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\ten
- nu-plugins\lib\loader.js:50:43)
- npm ERR! Windows_NT 6.1.7601
- npm ERR! argv "node" "C:\\Users\\Alphadin\\AppData\\Roaming\\npm\\node_modules\\
- npm\\bin\\npm-cli.js" "start"
- npm ERR! node v0.10.33
- npm ERR! npm v2.8.3
- npm ERR! code ELIFECYCLE
- npm ERR! BetaSys@0.0.1 start: `tennu config.json -v`
- npm ERR! Exit status 4
- npm ERR!
- npm ERR! Failed at the BetaSys@0.0.1 start script 'tennu config.json -v'.
- npm ERR! This is most likely a problem with the BetaSys package,
- npm ERR! not with npm itself.
- npm ERR! Tell the author that this fails on your system:
- npm ERR! tennu config.json -v
- npm ERR! You can get their info via:
- npm ERR! npm owner ls BetaSys
- npm ERR! There is likely additional logging output above.
- npm ERR! Please include the following file with any support request:
- npm ERR! C:\Users\Alphadin\BetaSys\npm-debug.log
- C:\Users\Alphadin\BetaSys>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement