Comments (14)
Yeah sorry. Thats my error, ill have a fix for it up in no time.
On May 4, 2012 9:42 AM, "venomenon" <
[email protected]>
wrote:
Hey -
I received this error when trying to load the bot. Any feedback would be
appreciated :) thanks!C:\Users\Lys\Desktop\Amy>node config.js
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
ReferenceError: mQueueGrabSpotTimeout is not defined
at Object. (C:\Users\Lys\Desktop\Amy\enums.js:42:110)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (C:\Users\Lys\Desktop\Amy\config.js:8:1)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
Reply to this email directly or view it on GitHub:
#8
from hashtag-amy.
Just pushed the update that should fix this problem.
from hashtag-amy.
Hey - Thanks for all your help! :)
I just wanted to bring to your attention some other things i stumbled upon. For the two first erros below I tried deleting one of the commas (not sure if it effects anything by deleting), but it seemed to go through. For the mModTwit error im not sure exactly what that is. I might need some insight on that :)
C:\Users\Lys\Desktop\Amy>node config.js
Dizob0t >>> Loading.
C:\Users\Lys\Desktop\Amy\commands.js:678
Speak(pUser, , SpeakingLevel.Misc, [['skippedsong', pData.list
^
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: Unexpected token ,
at Module._compile (module.js:429:25)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (C:\Users\Lys\Desktop\Amy\main.js:15:25)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
C:\Users\Lys\Desktop\Amy>node config.js
Dizob0t >>> Loading.
C:\Users\Lys\Desktop\Amy\commands.js:706
return Speak(pUser, , SpeakingLevel.Misc, [['{currentsong}', m
^
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: Unexpected token ,
at Module._compile (module.js:429:25)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (C:\Users\Lys\Desktop\Amy\main.js:15:25)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
C:\Users\Lys\Desktop\Amy>node config.js
Dizob0t >>> Loading.
C:\Users\Lys\Desktop\Amy\commands.js:826
requires: mModTwit ? Requires.Moderator : Requires.Owner,
^^^^^^^^
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: Unexpected identifier
at Module._compile (module.js:429:25)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (C:\Users\Lys\Desktop\Amy\main.js:15:25)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
C:\Users\Lys\Desktop\Amy>
from hashtag-amy.
Yeah, I just pushed a fix for these, update your files and you should be
set, sorry about that.
I forgot a few things when I was organizing stuff last night.
On Fri, May 4, 2012 at 2:03 PM, venomenon <
[email protected]
wrote:
Hey - Thanks for all your help! :)
I just wanted to bring to your attention some other things i stumbled
upon. For the two first erros below I tried deleting one of the commas
(not sure if it effects anything by deleting), but it seemed to go through.
For the mModTwit error im not sure exactly what that is. I might need
some insight on that :)C:\Users\Lys\Desktop\Amy>node config.js
Dizob0t >>> Loading.C:\Users\Lys\Desktop\Amy\commands.js:678
Speak(pUser, , SpeakingLevel.Misc, [['skippedsong',
pData.list
^node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: Unexpected token ,
at Module._compile (module.js:429:25)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (C:\Users\Lys\Desktop\Amy\main.js:15:25)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)C:\Users\Lys\Desktop\Amy>node config.js
Dizob0t >>> Loading.C:\Users\Lys\Desktop\Amy\commands.js:706
return Speak(pUser, , SpeakingLevel.Misc,
[['{currentsong}', m
^node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: Unexpected token ,
at Module._compile (module.js:429:25)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (C:\Users\Lys\Desktop\Amy\main.js:15:25)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)C:\Users\Lys\Desktop\Amy>node config.js
Dizob0t >>> Loading.C:\Users\Lys\Desktop\Amy\commands.js:826
requires: mModTwit ? Requires.Moderator : Requires.Owner,
^^^^^^^^node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: Unexpected identifier
at Module._compile (module.js:429:25)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (C:\Users\Lys\Desktop\Amy\main.js:15:25)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)C:\Users\Lys\Desktop\Amy>
Reply to this email directly or view it on GitHub:
#8 (comment)
Dalton Gore
253.234.5597
me @ yayramen.com
*
*
from hashtag-amy.
Hey dude :) Thanks again for all the help, really appreciate it!
Got the bot to enter my room but drops shortly after giving me the following error.
ReferenceError: mAutoBopForMods is not defined
at [object Object]. (C:\Users\Lys\Desktop\Amy\functions.js:167:37
)
at [object Object].emit (events.js:67:17)
at [object Object].onMessage (C:\Users\Lys\Desktop\Amy\node_modules\ttapi\bo
t.js:235:15)
at [object Object].onmessage (C:\Users\Lys\Desktop\Amy\node_modules\ttapi\bo
t.js:72:49)
at Array.0 (C:\Users\Lys\Desktop\Amy\node_modules\ttapi\websocket.js:308:30)
at EventEmitter._tickCallback (node.js:192:40)
from hashtag-amy.
Oh, shoot. One more update xD.
Sorry, like I said, things got REALLY jumbled around in there xD
Update your config.js to make sure you have all your vars and you should be good, sorry.
from hashtag-amy.
Hey dude - Everything is running smoothly now thanks for everything. :)
I found a small bug when a user exceeds the afk limit but is currently DJing (playing a song). The bot will display the message: /tableflip {username}, you've been afk for too long but will not remove the user until the song is over. However the bot keeps relaying the message every 3 seconds till the song is done.
Is there a way to have that message displayed once and the user be removed after the song is done?
OR
Remove the user on the spot without allowing him to complete the song?
BootAFK: function () {
Speak(this, mRemDJMsg, SpeakingLevel.Misc);
if (this == mCurrentDJ) return this.bootAfterSong = true;
this.RemoveDJ();
},
Thanks!
from hashtag-amy.
Yeah, let me do a bugfix for that right quick.
from hashtag-amy.
See if 8dc6182 fixes it.
from hashtag-amy.
Yup, that did the trick :)
uda best!
from hashtag-amy.
I try :D
from hashtag-amy.
Hey dude - Do you know why the /theme command doesn't change the preset theme from the config? Ill type /theme asdf but returns a message saying Theme is EDM (set in config).
Thanks:)
from hashtag-amy.
You don't set the theme with /theme
you do /set theme theme
so /set theme Manic Monday
:D
On Wed, May 9, 2012 at 9:46 PM, venomenon <
[email protected]
wrote:
Hey dude - Do you know why the /theme command doesn't change the preset
theme from the config? Ill type /theme asdf but returns a message saying
Theme is EDM (set in config).Thanks:)
Reply to this email directly or view it on GitHub:
#8 (comment)
Dalton Gore
253.234.5597
me @ yayramen.com
*
*
from hashtag-amy.
haha makes sense :) my bad
thx man
from hashtag-amy.
Related Issues (15)
- Error starting bot HOT 5
- Lotto
- bson? HOT 4
- twitter HOT 6
- stop users from constantly /bop themselves HOT 8
- feature request
- /song shuffle HOT 6
- Default command username argument and autobop. HOT 2
- Bot won't start HOT 2
- mName is not defined HOT 8
- AFK not being reset by awesome HOT 3
- off genre votes HOT 2
- Setting up Mongodb? HOT 6
- Not real sure HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hashtag-amy.