z64 / discord-against-humanity Goto Github PK
View Code? Open in Web Editor NEWcards against humanity, integrated into discord
License: MIT License
cards against humanity, integrated into discord
License: MIT License
If a voice or text channel is deleted before the bot can clean it up, the game will be unable to be destroyed. (i.e., the person didn't use dah.end
)
Similarly, if the text channel is destroyed, it becomes impossible to use dah.end
. The command needs to be modified again to allow use outside of the game channel.
dah.end
in the game text and let the bot clean up the text and voice channels to prevent this error.Someone pointed out that it would be better to not continually increment the number of the game room. That way every time you start a fresh game it starts at room game_1 or increments if game_1 already exists.
The monkey patched #long?
method needs to be corrected to check for maximum embed field length as defined;
field name = 256, value = 1024, description = 2048
(thanks to @sundwarf)
webhook is lit
Reported by @tikiki
"They could pick and got the confirmation, but not get the cards"
[ERROR : et-754 @ 2016-11-27 02:29:03.058] Exception: #<NoMethodError: undefined method `text' for nil:NilClass>
[ERROR : et-754 @ 2016-11-27 02:29:03.058] src/modules/database/player.rb:62:in `block in dm_unplayed'
[ERROR : et-754 @ 2016-11-27 02:29:03.059] src/modules/database/player.rb:61:in `each'
[ERROR : et-754 @ 2016-11-27 02:29:03.059] src/modules/database/player.rb:61:in `each_with_index'
[ERROR : et-754 @ 2016-11-27 02:29:03.059] src/modules/database/player.rb:61:in `dm_unplayed'
[ERROR : et-754 @ 2016-11-27 02:29:03.059] src/modules/database/game.rb:79:in `block in next_round!'
[ERROR : et-754 @ 2016-11-27 02:29:03.059] src/modules/database/game.rb:74:in `each'
[ERROR : et-754 @ 2016-11-27 02:29:03.059] src/modules/database/game.rb:74:in `next_round!'
[ERROR : et-754 @ 2016-11-27 02:29:03.059] src/modules/events/play.rb:132:in `block in <module:Play>'
Pointed out by @formalhellhound. Just a small gotcha during bot setup, as it's expecting CONFIG.client_id
.
Changing the @everyone
notification to @here
, would be better in my opinion, so that offline user's don't get random notifications. I wanted to get your thoughts on this before submitting a pr for it, in case you chose @everyone
for a specific reason.
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.