Giter VIP home page Giter VIP logo

Comments (14)

oldramen avatar oldramen commented on July 29, 2024

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.

oldramen avatar oldramen commented on July 29, 2024

Just pushed the update that should fix this problem.

from hashtag-amy.

venomenon avatar venomenon commented on July 29, 2024

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.

oldramen avatar oldramen commented on July 29, 2024

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.

venomenon avatar venomenon commented on July 29, 2024

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.

oldramen avatar oldramen commented on July 29, 2024

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.

venomenon avatar venomenon commented on July 29, 2024

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.

oldramen avatar oldramen commented on July 29, 2024

Yeah, let me do a bugfix for that right quick.

from hashtag-amy.

oldramen avatar oldramen commented on July 29, 2024

See if 8dc6182 fixes it.

from hashtag-amy.

venomenon avatar venomenon commented on July 29, 2024

Yup, that did the trick :)

uda best!

from hashtag-amy.

oldramen avatar oldramen commented on July 29, 2024

I try :D

from hashtag-amy.

venomenon avatar venomenon commented on July 29, 2024

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.

oldramen avatar oldramen commented on July 29, 2024

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.

venomenon avatar venomenon commented on July 29, 2024

haha makes sense :) my bad

thx man

from hashtag-amy.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.