last day (132 days later) » 
04:00 - 22:0022:00 - 00:00

4:29 AM
Hello and welcome to the chatbot room. I'm using this primarily as a sandbox to test WolfBot.
 
5:27 AM
!!/hello
!!/hi
 
5:39 AM
Traceback (most recent call last):
  File "WolfCore.py", line 18, in <module>
    room.join()
  File "/home/kazwolfe/Developer/WolfBot-SE/chatexchange6/rooms.py", line 51, in join
    return self._client._join_room(self.id)
  File "/home/kazwolfe/Developer/WolfBot-SE/chatexchange6/client.py", line 279, in _join_room
    self._br.join_room(room_id)
  File "/home/kazwolfe/Developer/WolfBot-SE/chatexchange6/browser.py", line 252, in join_room
    'msgCount': 100
  File "/home/kazwolfe/Developer/WolfBot-SE/chatexchange6/browser.py", line 130, in post_fkeyed
here we are, byte --^
No idea why CE6 is throwing this.
 
Hello!
 
oh god
 
bleh. this is kaz trying things.
 
nope that failed
 
@KazWolfe can you print what link_soup['href'].split('/') is
 
5:43 AM
stackexchange.com
:P
 
that is the 3rd element of the list generated by split though
i think [2] is the bug here
maybe [3] will work
 
hang on.
@edwinksl [u'http:', u'', u'stackexchange.com', u'users', u'login?returnurl=http%3a%2f%2fchat.stackexchange.com%2fchats%2fjoin%2ffavorite'‌​]
it seems as though it's not logging in...
 
none of which looks like a user id...
so something else is up
 
it's not logging me in
@ByteCommander, pls help :(
 
6:14 AM
!!/hi
 
!!help
 
!!/hi
 
@KazWolfe User Kaz Wolfe sent command hi with args
 
woah
 
!!/hello world how are you
 
6:16 AM
@KazWolfe User Kaz Wolfe sent command hello with args world how are you
 
!!/hi
 
@edwinksl User edwinksl sent command hi with args
 
it's a really stupid command handler right now.
just something basic to make sure it can send and receive commands.
 
skynet wasn't built in one day
 
no but i'm about to copy it in
 
6:17 AM
oh lord
 
I'm heavily reusing code from over here.
 
!!/hi
!!hi/
!!hi
 
it's down for now
while i add in my command handler
!!/start
!!/start
gah. one more time.
!!/start
 
6:34 AM
@KazWolfe Hi there! Welcome to WolfBot!
 
WOOHOO
 
!!/hi
 
yay bug
brb fixing
 
lol i should go see what commands there are
 
!!/gstsfsejfaoiagariaogt rgpkajrgi9arg
 
6:35 AM
@KazWolfe The command !!/gstsfsejfaoiagariaogt does not exist.
 
woo
@edwinksl The only one that exists rn is /start, because I need to modify the command handler for each command
 
heh ok
 
but... IT WORKS :D
i can just implement commands normally now and they should just work
i need to do my prefs file stuff, and permissions next.
yay -_-
so, permissions will work like this: there will essentially be three levels:
- Dev (autogrant to: SE Mods)
- Admin (autogrant to: Room Owners)
- User (autogrant to: All)
!!/start
!!/start
!!/start
 
7:00 AM
!!/start
 
!!/start
aww it's throwing a fit again
one sec
 
7:25 AM
!!/whoami
 
7:44 AM
!!/whoami
!!/start
!!/start
!!/start
 
@KazWolfe Hi there! Welcome to WolfBot!
 
!!/whoami
!!/whoami
grr
bugs bugs bugs
!!/whoami
!!/start
 
@KazWolfe Hi there! Welcome to WolfBot!
 
!!/whoami
!!/whoami
!!/whoami
!!/whoami
!!/whoami
 
8:02 AM
You are: Kaz Wolfe(ID: 97389)
Is Bot Superuser: True
Is Bot Admin: True
Is SE Mod (Grants Supervisor): False
Is Room Owner (Grants Bot Admin): True
 
woah. it works
@edwinksl
please try !!/whoami
 
!!/whoami
 
You are: edwinksl(ID: 35496)
Is Bot Superuser: False
Is Bot Admin: None
Is SE Mod (Grants Supervisor): False
Is Room Owner (Grants Bot Admin): None
 
None..?
weird.
 
lol
can you put a space between username and (
 
8:03 AM
i can
 
it triggers my OCD :(
 
8:14 AM
zzzzz
!!/whoami
 
!!/whoami
 
!!/whoami
it helps to save code lol
!!/whoami
!!/whoami
 
You are: Kaz Wolfe (ID: 97389)
Is Bot Superuser (Grants Bot Admin): True
Is Bot Admin: True
Is SE Mod (Grants Superuser): False
Is Room Owner (Grants Bot Admin): True
 
okay...
!!/usertest
 
@KazWolfe The command !!/usertest does not exist.
 
8:25 AM
!!/regusertest
 
@KazWolfe User command executed successfully.
 
!!/admintest
 
!!/whoami
is the None thing fixed yet?
 
try calling it again
it should be
 
!!/whoami
 
8:26 AM
oops hang on
another bug yay
 
i should write a bot to test your bot...
 
!!/admintest
 
@KazWolfe Admin command executed successfully.
 
okay now it works
go ahead and see
 
!!/whoami
 
8:27 AM
You are: edwinksl (ID: 35496)
Is Bot Superuser (Grants Bot Admin): False
Is Bot Admin: False
Is SE Mod (Grants Superuser): False
Is Room Owner (Grants Bot Admin): False
 
!!/superusertest
 
nice
 
!!/superusertest
!!/superusertest
 
@KazWolfe Superuser command executed successfully.
 
yay permissions work
@edwinksl can you please try running !!/admintest?
 
8:29 AM
!!/admintest
 
@edwinksl This command needs to be run by a Bot Admin.
 
!!/addadmin 35496
grr. one sec.
 
ah ok was gonna ask if the bot should say something in response to an addadmin command
 
!!/addadmin 35496
@edwinksl Try !!/admintest pls
 
ok
!!/admintest
 
8:35 AM
@edwinksl This command needs to be run by a Bot Admin.
 
!!/addadmin 35496
 
@KazWolfe User ID 35496 added as bot admin.
 
try now please
 
!!/admintest
 
@edwinksl This command needs to be run by a Bot Admin.
 
8:36 AM
grr...
!!/whoami please?
 
!!/whoami
 
You are: edwinksl (ID: 35496)
Is Bot Superuser (Grants Bot Admin): False
Is Bot Admin: False
Is SE Mod (Grants Superuser): False
Is Room Owner (Grants Bot Admin): False
 
wolfbot lied about adding me!
 
fuuuuu
idiot wolfbot is idiot
@edwinksl try now
 
!!/admintest
 
8:39 AM
oops sorry
my bad, forgot to enable something
try pls again @edwinksl
 
!!/admintest
 
@edwinksl Admin command executed successfully.
 
woah
 
there.
it works. finally.
so this is how permissions work.
people can be manually granted admin or superuser, or they can inherit them from R/O or Mod, respectively.
!!/deladmin 35496
 
@KazWolfe This command needs to be run by a Superuser.
 
8:41 AM
excuse me?!
 
what are the differences between admin and superuser?
 
try running !!/addadmin
!!/whoami
 
You are: Kaz Wolfe (ID: 97389)
Is Bot Superuser (Grants Bot Admin): False
Is Bot Admin: True
Is SE Mod (Grants Superuser): False
Is Room Owner (Grants Bot Admin): True
 
WAT
 
!!/addamin
 
8:42 AM
@edwinksl The command !!/addamin does not exist.
 
damn, typo
!!/addadmin
 
@edwinksl This command needs to be run by a Superuser.
 
!!/whoami
 
sorry reboot
!!/whoami
 
You are: Kaz Wolfe (ID: 97389)
Is Bot Superuser (Grants Bot Admin): True
Is Bot Admin: True
Is SE Mod (Grants Superuser): False
Is Room Owner (Grants Bot Admin): True
 
8:43 AM
there. you do not take powers away from me. Got it?
superuser can only be used by those who are SE mods, or who are hardcoded into the system @edwinksl.
Because it grants stuff like R/O, bot shutdown, etc.
 
ah ok, so superuser > admin
 
yep
eventually i'm going to add a user-ban function to pull access to commands altogether
o/ @Serg. !!/start is the command you want.
 
eh, i never tried !!/start, did i
!!/start
 
@edwinksl Hi there! Welcome to WolfBot!
 
Got message:
{u'user_id': 35496, u'event_type': 1, u'room_name': u'WolfBot Chat Bot Testing', u'message_id': 32391180, u'content': u'!!/start', u'room_id': 45540, u'time_stamp': 1474188402, u'user_name': u'edwinksl', u'id': 61941092}
Got command start with args
Got message:
{u'user_id': 234941, u'event_type': 1, u'room_name': u'WolfBot Chat Bot Testing', u'message_id': 32391181, u'content': u'@edwinksl Hi there! Welcome to WolfBot!', u'parent_id': 32391180, u'room_id': 45540, u'show_parent': True, u'time_stamp': 1474188406, u'user_name': u'WolfBot', u'id': 61941094}
lol. the bot gets its own messages :D
 
8:48 AM
does it log all these messages somewhere?
 
for now and testing, yes.
eventually, i will disable the logger
it's just my terminal window, so i can see that it's actually getting things.
!!/setprefix /
 
@KazWolfe Prefix set to /.
 
/start
/start
 
@KazWolfe Hi there! Welcome to WolfBot!
 
/setprefix
 
8:53 AM
@KazWolfe Prefix reset to default of !!/.
 
!!/setprefix %$
 
@KazWolfe Prefix set to %$.
 
%$setprefix
 
@KazWolfe Prefix reset to default of !!/.
 
yay!
 
8:54 AM
neat feature. does that require superuser permissions?
 
yep.
the entire bot config can be re-written on the fly, which is nice.
well, as evident by such a core command like that lol :D
well, i think this is a good start for the bot, at least for now.
i'm getting tired and i don't think a mod is coming by soon.
@edwinksl actually, there's even a moveroom command, but i'm actually not sure if it will work...
it may need a bot restart, and probably will.
 
that will be cool to test
 
i need blessings from a real mod first
 
maybe try to catch seth later
 
actually, i think the bot does need to be re-initialized...
i should fix that, because it breaks the on-the-fly method :(
# Register the Client to be used
client = chatexchange6.Client('stackexchange.com')
client.login(__USER__, __PASS__)

# Get the Bot itself
me = client.get_me()

# Bind the user to the chat room
room = client.get_room(__CHATID__)
room.join()
room.watch(on_message)
print("Ready for commands")

while True:
    1+1

PREFS.save()
client.logout()
well gnight. bot is going down
 
9:03 AM
yeah same
later
 
9:13 AM
!!/start
/start
i think i missed all the fun
 
i think bot is rip in pepperonis for now
 
oh well. Meanwhile , I'm bussy chatting elsewhere
 
9:43 AM
@WolfBot hi
@WolfBot you don't talk?
 
@Anwar i think he's off-line
 
ah
 
 
7 hours later…
5:14 PM
hi
 
o/
can you please run !!/whoami and !!/superusertest?
 
!!/diebotdie
 
@Zacharee1 The command !!/diebotdie does not exist.
 
darn
 
!!/whoami
 
5:15 PM
You are: Seth (ID: 31465)
Is Bot Superuser (Grants Bot Admin): True
Is Bot Admin: True
Is SE Mod (Grants Superuser): True
Is Room Owner (Grants Bot Admin): True
 
!!/whoami
 
You are: Zacharee1 (ID: 146477)
Is Bot Superuser (Grants Bot Admin): False
Is Bot Admin: False
Is SE Mod (Grants Superuser): False
Is Room Owner (Grants Bot Admin): False
 
!!/superusertest
 
@KazWolfe this thing is cool
 
@Seth Superuser command executed successfully.
 
5:16 PM
there.
 
yay! thanks seth!
mods get god power over the bot :D
@Zacharee1 it really only has debug test commands in it right now.
i'm about to add my first useful feature, but we'll see how that goes.
 
The keyword finder?
 
yep
 
I await with bated breath
 
5:30 PM
!!/hullo
 
@Zacharee1 The command !!/hullo does not exist.
 
!!/help
 
@Zacharee1 The command !!/help does not exist.
 
there aren't any useful commands in there yet, sadly.
 
oh you're still here
 
5:40 PM
okay. task manager is running.
let's see if i can get a basic task working :D
 
5:54 PM
Test task run!
 
mark 60 seconds
 
Test task run!
 
YES!
 
nice
 
okay, great. we can reliably schedule tasks. This is good.
so... now let's try to read some data!
 
6:32 PM
@KazWolfe where'd botty go?
 
he is busy getting upgraded
adding in reader support atm, so we have to wait for that.
 
cool
 
7:05 PM
 
@KazWolfe Filter Source URL set to askubuntu.com/feeds
 
!!/addfilter boot
 
@KazWolfe boot has been added to the filter list.
 
@KazWolfe so if I make a question with the word boot in it will the bot post it?
 
mhm
well, at next check. It pings every 60s or so
 
7:07 PM
how far back does it search?
 
one sec. bot is being dumb.
 
[**WolfBot**] Found multiple filtered posts:
[Windows is not installing in ntfs partition of ubuntu](http://askubuntu.com/q/826651), matches word `boot`
[SSH operation timed out Time Warner Cable](http://askubuntu.com/q/826643), matches word `boot`
[Dropbox nautilus restart needed pops up even after I uninstalled dropbox](http://askubuntu.com/q/826610), matches word `boot`
 
it... works?
 
Well the links are weird :p
 
that i can fix.
but it works.
 
7:18 PM
[**WolfBot**] Found multiple filtered posts:
[Unable to boot into Windows after removing Ubuntu partition](http://askubuntu.com/q/826652), matches word `boot`
[Windows is not installing in ntfs partition of ubuntu](http://askubuntu.com/q/826651), matches word `boot`
[SSH operation timed out Time Warner Cable](http://askubuntu.com/q/826643), matches word `boot`
[Dropbox nautilus restart needed pops up even after I uninstalled dropbox](http://askubuntu.com/q/826610), matches word `boot`
 
yeah
 
um...
that... shouldn't be doing that.
it should reset last check time.
 
[**WolfBot**] Found multiple filtered posts:
[Unable to boot into Windows after removing Ubuntu partition](http://askubuntu.com/q/826652), matches word `boot`
[Windows is not installing in ntfs partition of ubuntu](http://askubuntu.com/q/826651), matches word `boot`
[SSH operation timed out Time Warner Cable](http://askubuntu.com/q/826643), matches word `boot`
[Dropbox nautilus restart needed pops up even after I uninstalled dropbox](http://askubuntu.com/q/826610), matches word `boot`
 
we get it, thanks
 
lol
you'll have to tell it to blacklist posts it's already mentioned
 
7:20 PM
it does.
hang on, i think i know why
 
Oh no..
Wolfbot is... a thing
 
yay bios clocks
 
7:40 PM
and that should fix most of the issues :D
!!/getfilter
 
Words on the filter list:
boot
[**WolfBot**] Found multiple filtered posts:
[Unable to boot into Windows after removing Ubuntu partition](http://askubuntu.com/q/826652), matches word `boot`
[Windows is not installing in ntfs partition of ubuntu](http://askubuntu.com/q/826651), matches word `boot`
[SSH operation timed out Time Warner Cable](http://askubuntu.com/q/826643), matches word `boot`
 
!!/addfilter the
 
@KazWolfe the has been added to the filter list.
 
!!/getfilter
 
Words on the filter list:
boot the
 
7:59 PM
!!/getfilter
 
8:09 PM
gah
time is so annoying.
SE gives me 2016-09-18T19:53:38Z, and I am having way too much trouble moving it to epoch time
 
8:24 PM
!!/getfilter
 
Words on the filter list:
boot the
 
8:55 PM
[<b>WolfBot</b>] Found multiple filtered posts:
<a href="http://askubuntu.com/q/826681">Ubuntu freezes on every single desktop environment</a>, matches word `the`
<a href="http://askubuntu.com/q/826680">Ubuntu 16.04 doesn't recognize my SD Card</a>, matches word `the`
 
@WolfBot nice html tags bruh
 
i don't know why it doesn't like formatting
brb looking at smokey
[**WolfBot**] Can formatting
[even go over](http://www.google.com) multiple lines?
[No]. Ugh.
 
[WolfBot] Found filtered post, matches word the: Lubuntu lagging
 
woah
 
it works!
 
9:04 PM
[**WolfBot**] Found multiple filtered posts:
[copy paste a url rarely works](http://askubuntu.com/q/826687), matches word `the`
[Lubuntu lagging](http://askubuntu.com/q/826685), matches word `the`
 
except for multi-line formatting, but that's SE's fault, and I can't get that fixed.
wat.
 
[WolfBot] Found filtered post, matches word the: copy paste a url rarely works
 
[**WolfBot**] Can formatting
[even go over](http://google.com) multiple lines?
nope
multiline formatting is broken
even go over multiple lines?
 
50
Q: Markdown in chat fails for multi-line messages

sbiWe've come to rename Markdown to Letdown in the C++ chat room because it lets you down so often. I've now just found a pattern. It seems markdown fails for multi-line messages. That is, this Letdown can't cope with multi-line comments. Let's see code? fails to display code marked as co...

 
[WolfBot] Found filtered post, matches word the: copy paste a url rarely works
 
9:06 PM
... yay...
 
[WolfBot] Found filtered post, matches word the: copy paste a url rarely works
 
sonofa
 
[WolfBot] Found filtered post, matches word the: copy paste a url rarely works
 
bug... squashed.
 
[WolfBot] Found filtered post, matches word the: copy paste a url rarely works
 
9:10 PM
last time, i hope.
 
9:27 PM
[WolfBot] Found filtered post, matches word the: How to install AMD Radeon HD7000 Drivers for Ubuntu 16.04?
 
IT WORKS :D
 
@KazWolfe Congrats! :)
 
[WolfBot] Found filtered post, matches word the: Correcting dependencies... failed. Now nothing installs
 
!!/remfilter the
 
@KazWolfe the has been removed from the filter list.
 
9:33 PM
@KazWolfe should make it rmfilter instead
 
@edwinksl it used to be !!/addfword and !//delfword
 
lol fword
 
yeah. Filter Word
also, there is no way to hotswap rooms :(
 
what is the use case of that actually?
i aint no chat pro, so i don't know much of its advanced featurees :/
 
of what, hotswapping rooms?
not much, really
just a nice feature to have. I mean, we hotswap the !!/ thingy. The room would be cool
 
9:43 PM
[WolfBot] Found filtered post, matches word boot: Broken Network Settings Upon Boot
 
YAY
 
@KazWolfe ah okay
 
Well, let's give it a real filter.
!!/remfilter boot
 
@KazWolfe boot has been removed from the filter list.
 
mint please
 
9:44 PM
!!/addfilter mint
 
@KazWolfe mint has been added to the filter list.
 
!!/addfilter kali
 
@KazWolfe kali has been added to the filter list.
 
i should probably make this case-insensitive
 
yeah
 
9:56 PM
done, now case-insensitive
!!/getfilter
 
Words on the filter list:
mint kali
 
!!/delfilter kali mint
 
@KazWolfe All words were removed from the list successfully.
 
!!/addfilter mint kali "puppy linux"
 
@KazWolfe All words were added to list successfully.
 
04:00 - 22:0022:00 - 00:00

  last day (132 days later) »