Chris Bellew

Results 55 comments of Chris Bellew

Custom events receive a 'cmbot' variable, and custom commands have access to the same variable as options.cmbot. In this variable is a 'settings' variable, i.e. cmbot.settings (or options.cmbot.settings, for custom...

Hmm weird, cmbot.settings.greeting_last should be an empty object, already defined on line 15. I'll have to take a closer look to see why it's undefined.

You are trying to run the .js file directly, when you need to run node and have node load it. So, instead of ./bot.js try: node bot.js

I'm thinking maybe when the bot autodj's it should completely disregard the set limit for itself. Since it automatically steps down when someone adds themselves to the queue (or if...

Sure, each user has an 'afk' property (ie options.cmbot.users[userid].afk). You could write a module that hooks into the onSpeak event, and have it look for @username's (using a regular expression),...