teeli / irc-cah Goto Github PK
View Code? Open in Web Editor NEWCards Against Humanity IRC bot
Cards Against Humanity IRC bot
Hey,
When starting a game with 4 players, the last !join command is ignored and the bot just starts the game. The 4th player can't join at all.
I'll try to see if I can debug this when getting home, but if you have any idea, I'll appreciate it!
To make it simple, could we combine !play and !winner into !pick?
Configuration is a bit of a mess right now and could use some refactoring. Environment based configuration is totally unnecessary. Configuration loader and validator should be moved to app.
The Bot connects and does everything it should. However, the bot only responds to my own commands, no one else's. Can't seem to find the issue.
Is there a way to identify the bot to Nickserv to allow certain bot flags to be assigned to it, reducing the need for flood protection? clientOptions has a 'password' field but that's for server auth, not ident
Thanks
Restrict some commands, like stop to channel operators only to prevent abuse..
After the round, during winner selection, if the game is paused and the czar quits while paused, the game is stuck until time runs out. Round should end when the game is resumed if czar is no longer in the game.
There appears to be no check on either of those commands to see if the user calling the command is an active player.
Due to the nature of the bot, the IRC server can see it as spam and kick it off. You CAN fix this by throttling, but in the short run of things, another command to view the black cards in play would be nice in event that the bot gets kicked off before it can say the black cards.
Node tries to parse an empty json file and then throws an error
It would be great to be able to specify max points per game in the config file. So that once a player reaches N points they win the game ends and a new game can be started.
Setting the value to 0 would mean no max points and games would last until they are stopped.
Is there any way to 'kick' an idle or a player who didn't properly !quit out of the game, or plans to have some way to control the players so that the game doesn't slow down because someone got booted or left?
Thanks
CARD: A bug in the mainframe (please file a bug report, if you actually get this card)
!play 0
StormFrog: You must pick 0 different cards.
Possibly unrelated, but after using !stop, someone used !play and this happened in console.
Round elapsed: 120000 1389513763560 1389513643560
/botpath/app/controllers/game.js:592
self.client.say(self.channel, string);
^
TypeError: Cannot call method 'say' of undefined
at Game.self.say (/botpath/app/controllers/game.js:592:21)
at Game.self.turnTimerCheck (/botpath/app/controllers/game.js:278:18)
at wrapper as _onTimeout
at Timer.listOnTimeout as ontimeout
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.