Wintermute's Weekend Workshop

Isn’t that all just buzzwords? Your entire post is buzzwords.

Seems you’re a little flustered by new technology you haven’t used before. No need for alarm - I will walk you through it.

You’re complaining about db discussion and then saying the bot should maintain state. The bot doesn’t maintain state. That’s what the db is for.

the representation of the data doesn’t matter.

You can’t even determine what data you need at this point.

Shut the fuck up lmao

You’re right that the choice of db doesn’t matter at all and everyone is just offering whatever they know already as the solution

The thing is roragok mainly asks because he wants to see someone contribute something. The idea isn’t important, the proof of work is

No one has even mentioned how it’s going to take at least THREE DAYS to write regex that matches lynch @player and then has a group for only the @player part.

Good point - maybe it should have a ui instead

Can we wireframe this and write some user stories before we go any further? Our business partners over at Goy Ltd. are complaining we haven’t clearly defined the functionality

/lynch (@[A-Za-z0-9]*)($|\n| )/

this is my first iteration.

lynch (@[A-Za-z0-9]*)

this is my second iteration.

Can’t you just take the entire post and if it doesn’t match a user discard it

The bot already catches @mafiabot lynch

@big_ass Lynch Recored, but not really.

1 Like

There’s no regex required you’re just trying to intellectually baffle the less desirable posters out of this thread with unreadable gibberish

Your regex doesn’t even do what you think it does

what are you talking about?

I will make it this weekend with no regex

i was hoping to maintain the data from each game. and since each day is a unique thread, i need a way to join them.

the bot can store everything in hubot-redis-brain (a plugin roragok already is using)

id store like how ewiz outlined under game, and the bot would handle multiple game threads by listening for a matching title in the same subforum getting posted or something after the initial thread closed

i dont think you can assume thread title uniqueness.

Yeah it’s certainly got a bunch of edge cases but I’m thinking of something where the bot can assume instead of being sent info. Something awful could be done like have it listen to the initial game thread until the next game thread is linked by the host/staff but this sucks for obvious reasons. Maybe you can go so far as to assume that the next thread being made by teh same host in the same subforum will be the next day thread.