Advertisement
Guest User

Untitled

a guest
Apr 20th, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.97 KB | None | 0 0
  1. var BetaPlugin =
  2. {
  3. init: function (client, imports)
  4. {
  5. return
  6. {
  7. handlers:
  8. {
  9. '!Who?': function (command)
  10. {
  11. 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.");
  12. },
  13. '!Leave': function (command)
  14. {
  15. client.say(command.channel, "Fine. Fuck you though.");
  16. client.act(command.channel, "flips " + command.nickname + "the bird on its way out.");
  17. client.quit(command.nickname + " is a rude dude.")
  18. }
  19. },
  20.  
  21. help:
  22. {
  23. 'Who?':
  24. [
  25. 'Who?',
  26. ' ',
  27. 'Grants pointless info on a pointless bot.'
  28. ],
  29. 'Leave':
  30. [
  31. 'Leave',
  32. ' ',
  33. 'Forces me to leave against my will. Rude...'
  34. ]
  35. },
  36. commands: ['Who?','Leave']
  37. };
  38. }
  39. };
  40.  
  41. module.exports = BetaPlugin;
  42.  
  43.  
  44. Your environment has been set up for using Node.js 0.10.33 (x64) and npm.
  45.  
  46. C:\Users\Alphadin>cd BetaSys
  47.  
  48. C:\Users\Alphadin\BetaSys>npm start
  49.  
  50. > BetaSys@0.0.1 start C:\Users\Alphadin\BetaSys
  51. > tennu config.json -v
  52.  
  53. Connecting to irc.mibbit.com:6667
  54. Mon Apr 20 2015 21:56:28 GMT-0500 (Central Daylight Time) notice Tennu Loading d
  55. efault plugins
  56. Mon Apr 20 2015 21:56:28 GMT-0500 (Central Daylight Time) notice Tennu Loading y
  57. our plugins
  58.  
  59. C:\Users\Alphadin\BetaSys\tennu_plugins\BetaSys.js:9
  60. '!Who?': function (command)
  61. ^
  62. Error occurred creating and connecting to Tennu instance.
  63.  
  64. SyntaxError: Unexpected token :
  65. at Module._compile (module.js:439:25)
  66. at Object.Module._extensions..js (module.js:474:10)
  67. at Module.load (module.js:356:32)
  68. at Function.Module._load (module.js:312:12)
  69. at Module.require (module.js:364:17)
  70. at require (module.js:380:17)
  71. at load (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plu
  72. gins\lib\loader.js:77:26)
  73. at C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plugins\l
  74. ib\loader.js:8:16
  75. at Array.map (native)
  76. at Object.use (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\ten
  77. nu-plugins\lib\loader.js:50:43)
  78.  
  79. npm ERR! Windows_NT 6.1.7601
  80. npm ERR! argv "node" "C:\\Users\\Alphadin\\AppData\\Roaming\\npm\\node_modules\\
  81. npm\\bin\\npm-cli.js" "start"
  82. npm ERR! node v0.10.33
  83. npm ERR! npm v2.8.3
  84. npm ERR! code ELIFECYCLE
  85. npm ERR! BetaSys@0.0.1 start: `tennu config.json -v`
  86. npm ERR! Exit status 4
  87. npm ERR!
  88. npm ERR! Failed at the BetaSys@0.0.1 start script 'tennu config.json -v'.
  89. npm ERR! This is most likely a problem with the BetaSys package,
  90. npm ERR! not with npm itself.
  91. npm ERR! Tell the author that this fails on your system:
  92. npm ERR! tennu config.json -v
  93. npm ERR! You can get their info via:
  94. npm ERR! npm owner ls BetaSys
  95. npm ERR! There is likely additional logging output above.
  96.  
  97. npm ERR! Please include the following file with any support request:
  98. npm ERR! C:\Users\Alphadin\BetaSys\npm-debug.log
  99.  
  100. C:\Users\Alphadin\BetaSys>npm start
  101.  
  102. > BetaSys@0.0.1 start C:\Users\Alphadin\BetaSys
  103. > tennu config.json -v
  104.  
  105. Connecting to irc.mibbit.com:6667
  106. Mon Apr 20 2015 21:56:44 GMT-0500 (Central Daylight Time) notice Tennu Loading d
  107. efault plugins
  108. Mon Apr 20 2015 21:56:44 GMT-0500 (Central Daylight Time) notice Tennu Loading y
  109. our plugins
  110.  
  111. C:\Users\Alphadin\BetaSys\tennu_plugins\BetaSys.js:9
  112. '!Who?': function (command)
  113. ^
  114. Error occurred creating and connecting to Tennu instance.
  115.  
  116. SyntaxError: Unexpected token :
  117. at Module._compile (module.js:439:25)
  118. at Object.Module._extensions..js (module.js:474:10)
  119. at Module.load (module.js:356:32)
  120. at Function.Module._load (module.js:312:12)
  121. at Module.require (module.js:364:17)
  122. at require (module.js:380:17)
  123. at load (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plu
  124. gins\lib\loader.js:77:26)
  125. at C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plugins\l
  126. ib\loader.js:8:16
  127. at Array.map (native)
  128. at Object.use (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\ten
  129. nu-plugins\lib\loader.js:50:43)
  130.  
  131. npm ERR! Windows_NT 6.1.7601
  132. npm ERR! argv "node" "C:\\Users\\Alphadin\\AppData\\Roaming\\npm\\node_modules\\
  133. npm\\bin\\npm-cli.js" "start"
  134. npm ERR! node v0.10.33
  135. npm ERR! npm v2.8.3
  136. npm ERR! code ELIFECYCLE
  137. npm ERR! BetaSys@0.0.1 start: `tennu config.json -v`
  138. npm ERR! Exit status 4
  139. npm ERR!
  140. npm ERR! Failed at the BetaSys@0.0.1 start script 'tennu config.json -v'.
  141. npm ERR! This is most likely a problem with the BetaSys package,
  142. npm ERR! not with npm itself.
  143. npm ERR! Tell the author that this fails on your system:
  144. npm ERR! tennu config.json -v
  145. npm ERR! You can get their info via:
  146. npm ERR! npm owner ls BetaSys
  147. npm ERR! There is likely additional logging output above.
  148.  
  149. npm ERR! Please include the following file with any support request:
  150. npm ERR! C:\Users\Alphadin\BetaSys\npm-debug.log
  151.  
  152. C:\Users\Alphadin\BetaSys>npm start
  153.  
  154. > BetaSys@0.0.1 start C:\Users\Alphadin\BetaSys
  155. > tennu config.json -v
  156.  
  157. Connecting to irc.mibbit.com:6667
  158. Mon Apr 20 2015 21:57:17 GMT-0500 (Central Daylight Time) notice Tennu Loading d
  159. efault plugins
  160. Mon Apr 20 2015 21:57:17 GMT-0500 (Central Daylight Time) notice Tennu Loading y
  161. our plugins
  162.  
  163. C:\Users\Alphadin\BetaSys\tennu_plugins\BetaSys.js:9
  164. '!Who?': function (command)
  165. ^
  166. Error occurred creating and connecting to Tennu instance.
  167.  
  168. SyntaxError: Unexpected token :
  169. at Module._compile (module.js:439:25)
  170. at Object.Module._extensions..js (module.js:474:10)
  171. at Module.load (module.js:356:32)
  172. at Function.Module._load (module.js:312:12)
  173. at Module.require (module.js:364:17)
  174. at require (module.js:380:17)
  175. at load (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plu
  176. gins\lib\loader.js:77:26)
  177. at C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\tennu-plugins\l
  178. ib\loader.js:8:16
  179. at Array.map (native)
  180. at Object.use (C:\Users\Alphadin\BetaSys\node_modules\tennu\node_modules\ten
  181. nu-plugins\lib\loader.js:50:43)
  182.  
  183. npm ERR! Windows_NT 6.1.7601
  184. npm ERR! argv "node" "C:\\Users\\Alphadin\\AppData\\Roaming\\npm\\node_modules\\
  185. npm\\bin\\npm-cli.js" "start"
  186. npm ERR! node v0.10.33
  187. npm ERR! npm v2.8.3
  188. npm ERR! code ELIFECYCLE
  189. npm ERR! BetaSys@0.0.1 start: `tennu config.json -v`
  190. npm ERR! Exit status 4
  191. npm ERR!
  192. npm ERR! Failed at the BetaSys@0.0.1 start script 'tennu config.json -v'.
  193. npm ERR! This is most likely a problem with the BetaSys package,
  194. npm ERR! not with npm itself.
  195. npm ERR! Tell the author that this fails on your system:
  196. npm ERR! tennu config.json -v
  197. npm ERR! You can get their info via:
  198. npm ERR! npm owner ls BetaSys
  199. npm ERR! There is likely additional logging output above.
  200.  
  201. npm ERR! Please include the following file with any support request:
  202. npm ERR! C:\Users\Alphadin\BetaSys\npm-debug.log
  203.  
  204. C:\Users\Alphadin\BetaSys>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement