Giter VIP home page Giter VIP logo

hashtag-amy's People

Contributors

inumedia avatar oldramen avatar technobly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hashtag-amy's Issues

Lotto

When I have Lotto enabled the bot will announce type /spin. Once that is all done and the person has won, they hop up and claim their prize. Then like 15 seconds later, when all spots are full, he announces again to spin and to claim their prize. Well no prize available because all spots are taken :) Know how to fix that? Thanks

Bot won't start

Hey guys, I'm new to node.js and mongodb, so I can't point what is causing my error. Any help is much appreciated.

Sir Lance >>> Loading.

/home/ubuntu/turntable/node_modules/mongoskin/lib/mongoskin/utils.js:75
exports.extend = function (destination, source) {
^
TypeError: Cannot assign to read only property 'extend' of #
at Object. (/home/ubuntu/turntable/node_modules/mongoskin/lib/mongoskin/utils.js:75:16)
at Module._compile (module.js:456:26)
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 Object. (/home/ubuntu/turntable/node_modules/mongoskin/lib/mongoskin/db.js:17:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)

Default command username argument and autobop.

A couple of issues.
So first off when I do commands like /smack or /slap, without specifying a user, it always smacks or slaps some user called sirmixalot. Not sure why or if it is supposed to work like that. I think that user was one of the first people to join my room, but I don't remember doing anything to him.
Second, the bot doesn't autobop for mods. In the config file there seems to be two instances of global.autobopformods. Not sure if it's supposed to be like that but I set them both to true, but doesn't work.

stop users from constantly /bop themselves

is there a way to stop the current dj from bop/dance, themselves? if(pUser.isDJ) maybe? with a warning message & a vote down?

the point farming is a lil annoying, most users only use it for that reason & hardly ever use it to bop for someone else.

mQueueGrabSpotTimeout is not defined

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)

twitter

ok, maybe Im filling out the devtwitter wrong.

secret, key & token, checked, I try the /tweet command in the room, I get the response "tweet sent".

but it wasnt, the account remains with 0 tweets. as far as the devtwitter filling-out goes,

my 'request setting' = GET
Request URI: * = https://api.twitter.com/1/
Request query: = empty
Callback URL: = empty

anything need to change there?

feature request

is there a way I can have the bot pull someone offstage by how many lames they get automatically...say like if they get 5 lames on a play, the bot pulls them off the deck with a short explanation

kinda reverse-bonus I guess

mName is not defined

getting this error on startup: ReferenceError: mName is not defined

Any suggestions?

bson?

when I try to connect the bot I get this error

C:\Users\admin\Desktop\amy>node config.js
MissMelody >>> Loading.

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'bson'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Module.require (module.js:354:17)
at require (module.js:370:17)
at Object. (C:\Users\admin\Desktop\amy\main.js:16:20)
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)

I believe that I may have setup mongo correctly because I'm able to see http://localhost:28017/ then I run it? also the npm installs didn't give me any errors.

Not real sure

i was stuck on the db for awhile and finally got it connected, now I get this error:

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Argument passed in must be a single String of 12 bytes or a string of 24
hex characters
at Function.createFromHexString (C:\Program Files\nodejs\bot3\amy\node_modul
es\bson\lib\bson\objectid.js:212:11)
at C:\Program Files\nodejs\bot3\amy\functions.js:875:51
at Object.Save (C:\Program Files\nodejs\bot3\amy\functions.js:1030:17)
at Object.Update (C:\Program Files\nodejs\bot3\amy\functions.js:991:18)
at [object Object]. (C:\Program Files\nodejs\bot3\amy\functions.j
s:138:11)
at [object Object].emit (events.js:67:17)
at [object Object].onMessage (C:\Program Files\nodejs\bot3\amy\node_modules
ttapi\bot.js:264:15)
at [object Object].onmessage (C:\Program Files\nodejs\bot3\amy\node_modules
ttapi\bot.js:73:49)
at Array.0 (C:\Program Files\nodejs\bot3\amy\node_modules\ttapi\websocket.js
:308:30)
at EventEmitter._tickCallback (node.js:192:40)

off genre votes

Yayramen, are these variables working?

global.mDownVotesForOffGenre
global.mOffGenre

Error starting bot

I have to wonder if there is something that isn't initializing the database. I get the following error. This is on a fresh MongoDB install. I get similar problems with a localhost install AND external.

~/node/hashtag-amy$ node maw.js

MAW >>> Loading.

MAW >>> Initializing.

MAW >>> Connecting to: user:[email protected]:10092/AMM_bot?auto_reconnect.

MAW >>> Done.

MAW >>> Hooking events.

MAW >>> Done.

MAW >>> Ready.

MAW >>> Joined the room. Booting up.

MAW >>> Got Room Data.

MAW >>> Connecting to: user:[email protected]:10092/AMM_bot?auto_reconnect.

MAW >>> Updated Parsing Library.

MAW >>> Booted up. We're set to go.

MAW >>> Registering Users.

MAW >>> Inserting: -King-.

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
ReferenceError: mInfoOnRoom is not defined
at /node/hashtag-amy/functions.js:364:30
at /node_modules/mongoskin/node_modules/mongodb/lib/mongodb/cursor.js:129:9
at /node_modules/mongoskin/node_modules/mongodb/lib/mongodb/cursor.js:171:11
at /node_modules/mongoskin/node_modules/mongodb/lib/mongodb/cursor.js:452:35
at Cursor.close (
/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/cursor.js:660:5)
at Cursor.nextObject (
/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/cursor.js:452:17)
at [object Object]. (
/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/cursor.js:440:12)
at [object Object].g (events.js:156:14)
at [object Object].emit (events.js:88:20)
at Db._callHandler (
/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/db.js:1193:25)

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.