« first day (554 days earlier)      last day (403 days later) » 

6:26 AM
!!status
 
~ BOT running since: Sat Apr 08 2017 21:58:04 GMT+0000 (UTC) for 8.467397777777778 hours ago
username (#msg)
Shadow Wizard (48)
rene (39)
KennyBOT (11)
 
7:12 AM
!!status plz
 
~ BOT running since: Sat Apr 08 2017 21:58:04 GMT+0000 (UTC) for 9.235283333333333 hours ago
username (#msg)
Shadow Wizard (49)
rene (40)
KennyBOT (12)
 
@rene how come your message count was raised by 1? Since my own count is one more than before it means it counts the !!status message itself.
I smell a bug here. ;)
 
7:31 AM
There are many bugs ;) ... I looked into writing unit tests but I've only installed Mocha and that is about it ... making it run in glitch seemed hard so I postponed that
function handleEvents(ce) {
    var i;
    for (i = 0; i < ce.length; i = i + 1) {
      handleEvent(ce[i]);
      handleUser(ce[i]);
    }
}
there ^ is the bug in kenny-bot.js
I probably need to switch those handle calls around
 
@rene hmm.... why not for (var i = 0; i < ce.length; i++)? Will save extra line and extra characters. ;-) </neatpicking>
Or even better: ce.forEach(function(e) { ... });
(can also ES6 but not there myself yet...)
Anyway, no worry your bugs are small.. so far. :)
 
@ShadowWizard I have used and are still using jslint in its most strict setting. That forbids i++
 
@rene so it's crappy, sorry. Really no reason to forbid it.
It's simple, it's fast, it's common.
 
@ShadowWizard this code wasn't changed between the browser version and this server version
 
@rene yeah, figured that. :)
anyway, time for your nice comment here... @rene ;)
 
7:43 AM
@ShadowWizard well, I disagree slightly. Not for c# or c++ contexts but in JS I'm a follower of Crockford
 
oh well, will give you ice cream. :D
!!icecream for @rene
 
~ What are you talking about?
 
Tada!!
 
@ShadowWizard yammy!
!!wut
 
7:56 AM
~ WUT?
 
!!status
 
~ BOT running since: Sun Apr 09 2017 07:54:53 GMT+0000 (UTC) for 1.2756166666666666 minutes ago
username (#msg)
rene (2)
KennyBOT (1)
 
function handleEvents(ce) {
    ce.forEach(function(event) {
      handleUser(event);
      handleEvent(event);
    });
}
happy now ^ ... ?
 
Yes!!!!! :D
!!status
 
~ BOT running since: Sun Apr 09 2017 07:54:53 GMT+0000 (UTC) for 9.228383333333333 minutes ago
username (#msg)
Shadow Wizard (1)
rene (4)
KennyBOT (2)
 
8:05 AM
for 9 minutes and 12 seconds sounds better.... also the "ago" is misplaced... ;)
 
8:43 AM
Tada!!
 
!!status
 
~ BOT running since: Sun Apr 09 2017 08:43:02 GMT+0000 (UTC) for less than a minute
username (#msg)
 
ieew
 
I refactored it into bugs
 
8:44 AM
lolz
 
~ Not everything is star-worthy...
 
now we have to wait for 6 minutes so we can run !!status again
and then I can confirm I broke it for sure
 
time for ...
 
. . .
 
8:46 AM
!!coffee
 
~ 418 I'm a TEAPOT
 
!!coffee
 
~ 406 Not Acceptable
 
haha
!!milk
 
~ I'm milking the cow ....
 
8:46 AM
!!milk again
 
~ The cow kicked the bucket... try later
 
!!pee
 
~ That is gross ....
 
!!pee again
 
~ Open the floodgates ....
 
8:47 AM
!!pee a third time
 
~ Let's build some dykes ....
 
!!cupcake
 
~ One cupcake on its way for @Shadow Wizard ....
 
!!cupcake for @KennyBOT
 
~ Out of dough...
 
8:47 AM
!!milk
 
hey, my milk command!
!!milk
@rene you handle chat throttle?
 
it is throttled now
 
@ShadowWizard yes, I do
 
8:48 AM
So it cause the message to just fail?
 
but the milk command also has abuse prevention
 
oh
!!cupcake
!!pee
!!help
 
> ReferenceError: window is not defined
10:49 AM
Jump to
 
!!helloooooooooooo
lol
Happy to find your bugs, @rene ;)
 
that is what happens when you port from the browser to nodejs
 
8:50 AM
Tada!!
 
!!status
 
~ BOT running since: Sun Apr 09 2017 08:50:24 GMT+0000 (UTC) for less than a minute
username (#msg)
 
!!cupcake
 
~ One cupcake on its way for @rene ....
 
that command needs to be exercised
 
8:55 AM
 
9:08 AM
!!status
 
~ BOT running since: Sun Apr 09 2017 08:50:24 GMT+0000 (UTC) for 17.946166666666667 minutes
username (#msg)
rene (1)
KennyBOT (3)
 
!!cupcake
 
~ Don't hammer me...
 
!!cupcake
 
9:12 AM
@ShadowWizard well, at least it tracked me and kenny so that part isn't broken ...
 
:)
!!status
 
~ BOT running since: Sun Apr 09 2017 08:50:24 GMT+0000 (UTC) for 24.7822 minutes
username (#msg)
Shadow Wizard (4)
rene (3)
KennyBOT (5)
~ new cupcakes can be ordered in 6 to 8 minutes...
 
9:41 AM
Tada!!
 
!!pee
 
~ That is gross ....
 
!!status
 
~ BOT running since: Sun Apr 09 2017 09:41:11 GMT+0000 (UTC) for less than a minute
username (#msg)
rene (2)
KennyBOT (4)
 
not sure ...
why does kenny have 4?
 
10:31 AM
!!status
 
~ BOT running since: Sun Apr 09 2017 09:41:11 GMT+0000 (UTC) for 50.572183333333335 minutes
username (#msg)
rene (8)
KennyBOT (6)
Tada!!
 
That needs a lot of hacks to get right :(
!!status
 
~ BOT running since: Sun Apr 09 2017 10:39:34 GMT+0000 (UTC) for less than a minute
username (#msg)
rene (2)
KennyBOT (1)
 
looks better now
 
!!status
What did you fix? @rene
 
10:42 AM
6 minutes
 
yeah I know :/
 
@ShadowWizard I previously asked /user/info to get a user record. That was async, so it lagged behind. I now fill a preliminary user record based on the info in the event to get the stats about right and then process whatever comes from /user/info later. That info holds if you're a mod or an RO among other things
 
@rene oh, nice!
!!status
 
I really need to move parts of that code out of kenny-bot and into se-chatroom.js
at least the handling of roomowners/moderators who are joining the room
 
1 message moved from Shadow's Den
 
10:46 AM
you brake things
 
Wonder if @M.A.R. was invited here.... :D
 
Invited i don't know, but I see an event_type:20 {"r1034":{"e":[{"event_type":20,"time_stamp":1491732499,"id":13422632,"user_id":280934,"user_name":"M.A.R.","room_id":1034,"room_name":"‮Shadow\u0027s Sandbox","message_id":5923924,"parent_id":5923145,"moved":true},{"event_type":1,"time_stamp":1491734785,"content":"\u0026larr; \u003ci\u003e1 message moved from \u003ca href=\"http://chat.meta.stackexchange.com/rooms/721/shadows-den\"\u003eShadow\u0026#39;s Den\u003c/a\u003e\u003c/i\u003e","id":13422634,"user_id":152859,"user_name":"Shadow Wizard","room_id":1034,"room_name":"‮Shadow\u0027s Sand
which I think means join ...
also notice how the fancy RTL character screws up my logging ...
 
11:02 AM
@rene lol, test room should have weird stuff! :D
!!alive?
 
~ WUT?
 
!!tea
 
~ What are you talking about?
 
!!cupcake
 
~ One cupcake on its way for @rene ....
 
11:08 AM
!!status
 
~ BOT running since: Sun Apr 09 2017 10:39:34 GMT+0000 (UTC) for 29.201516666666667 minutes
username (#msg)
Shadow Wizard (19)
rene (24)
KennyBOT (11)
M.A.R. (1)
 
hmm, funny @M.A.R. got processed
 
11:37 AM
!!status
 
~ BOT running since: Sun Apr 09 2017 10:39:34 GMT+0000 (UTC) for 57.5569 minutes
username (#msg)
Shadow Wizard (19)
rene (28)
KennyBOT (13)
M.A.R. (1)
Tada!!
 
!!pee
 
~ That is gross ....
 
!!status
 
~ BOT running since: Sun Apr 09 2017 11:46:27 GMT+0000 (UTC) for less than a minute
username (#msg)
rene (2)
KennyBOT (3)
 
 
1 hour later…
1:09 PM
!!status
:(
@rene well, he does have a message.... ;)
 
Tada!!
 
!!status
 
~ BOT running since: Sun Apr 09 2017 13:08:23 GMT+0000 (UTC) for 2.2906833333333334 minutes
username (#msg)
Shadow Wizard (1)
KennyBOT (2)
 
sounds about right ...
 
@rene format seconds into friendly time ^
 
1:32 PM
Tada!!
 
!!status
 
~ BOT running since: Sun Apr 09 2017 13:32:18 GMT+0000 (UTC) for less than a minute
username (#msg)
rene (1)
KennyBOT (2)
 
1:49 PM
!!pee
 
~ That is gross ....
 
!!status
 
~ BOT running since: Sun Apr 09 2017 13:32:18 GMT+0000 (UTC) for 17 minutes
username (#msg)
Shadow Wizard (2)
rene (2)
KennyBOT (4)
 
!!milk
 
~ I'm milking the cow ....
 
1:49 PM
!!cupcake
 
~ One cupcake on its way for @Shadow Wizard ....
 
!!pee
 
~ Open the floodgates ....
 
!!coffee
 
~ 418 I'm a TEAPOT
 
1:50 PM
!!milk
 
~ The cow kicked the bucket... try later
 
!!help
 
~
!!coffee
!!cupcake
!!help
!!milk
!!pee
!!SHU
!!silence
!!status
!!wut
 
!!wut
 
~ WUT?
 
1:50 PM
!!PEE
 
~ What are you talking about?
 
heh, case sensitive @rene
@rene also spaces should be trimmed in user names when pinging, e.g. ~ One cupcake on its way for @ShadowWizard ....
 
@ShadowWizard yes ...
@ShadowWizard I'll fix that
 
2:37 PM
Tada!!
 
!!pee
 
~ That is gross ....
 
@sha please order cupcake to verify the bug is fixed
 
3:38 PM
Tada!!
 
 
2 hours later…
5:55 PM
!!cupcake
 
~ One cupcake on its way for @ShadowWizard ....
 
6:52 PM
Tada!!
Tada!!
Tada!!
Tada!!
Tada!!
 
7:12 PM
@rene why so many restarts? BTW kudos for fixing the ping! ;)
!!StatuS
!!help
(well, the ping wasn't broken, it still pinged, just looked weird :))
 
@ShadowWizard I moved some of the userSeen logic to the se-chatroom.js and as soon as I change anything the container restarts. And I implemented that code in the init function so it had to restart anyway.
and now it died ...
for some reason
 
Tada!!
 
!!StatuS
 
~ WUT?
 
!!status
 
7:27 PM
~ BOT running since: Sun Apr 09 2017 19:06:31 GMT+0000 (UTC) for 20 minutes
username (#msg)
Shadow Wizard (2)
KennyBOT (3)
 
So the case sensitive is by Design? @rEne
 
uh, yes ...
 
Tada!!
 
!!halp
 
~ WUT?
 
7:40 PM
!!helP
 
~ What are you talking about?
 
brrrrr
!!pee eeeeeeeeeeeeeeeeeeeeee
 
~ That is gross ....
 
No it's not
 
!!cupcake
 
7:41 PM
Pee is fun
 
~ One cupcake on its way for @rene ....
 
!!cupcake
 
~ Out of dough...
 
!!milk
 
~ I'm milking the cow ....
 
7:41 PM
!!coffee
 
~ 418 I'm a TEAPOT
 
!!time
 
~ Sun Apr 09 2017 19:42:08 GMT+0000 (UTC)
 
8:13 PM
@rene wild idea... have @Kenny pee on random intervals, e.g. after 5 hours of inactivity, or 6 hours, etc. What you think? :D
 
Oh, that is doable. I had some other ideas as well that would involve how busy the room was. So I'll build that and then create a random pee command.
 
9:06 PM
Tada!!
 
!!pee
 
~ That is gross ....
 
!!status
 
~ BOT running since: Sun Apr 09 2017 21:06:38 GMT+0000 (UTC) for less than a minute
username (#msg)
rene (2)
KennyBOT (3)
 
9:22 PM
Tada!!
 
!!cupcake
 
~ One cupcake on its way for @rene ....
 
!!status
 
~ BOT running since: Sun Apr 09 2017 21:21:24 GMT+0000 (UTC) for 4 minutes
username (#msg)
rene (2)
KennyBOT (3)
Tada!!
 
!!status
 
9:29 PM
~ BOT running since: Sun Apr 09 2017 21:27:00 GMT+0000 (UTC) for 2 minutes
username (#msg)
rene (1)
KennyBOT (2)
 
need sleep, I'm off
 

« first day (554 days earlier)      last day (403 days later) »