« first day (1694 days earlier)      last day (41 days later) » 

00:14
How do I create a test instance?
I'd like to try adding code execution
@lyxal [the cat] uhh
[the cat] start by installing Postgres :p
!!/trick upsert "help" "
I'm Vyxal Bot 3, written by Ginger on behalf of Vyxal Corp.
All of my commands start with !!/
If you want help for a specific command, run !!/help \"<command name>\"; to view every command, run !!/commands.
New to Vyxal? Try !!/info for more information."
@Ginger Trick help updated.
 
10 hours later…
10:26
!!/user info
User information of Themoonisacheese (601522):
- Member of groups: (none)
mhhhhhhh
> assert current_user.groups is not None
!!/cookie
@Themoonisacheese Here you go: 🍪
oh my bad i didn't know you were chill like that
But more importantly
!!/amilyxal
10:27
@lyxal You are lyxal.
Thank you
!!/group member "@Ginger" add "Themoonisacheese"
@lyxal Added Themoonisacheese to group @Ginger.
You are now a part of ginger, I decided
i'm stupid, current_user.groups is at worst an empty array
@lyxal oh boy
!!/user info
User information of Themoonisacheese (601522):
- Member of groups: @Ginger
10:29
copious trolling
!!/rizz
@lyxal fanum tax
Good bot
... No good bot detection?
this probably exists in english as well but the sphere i was exposed to was in french
Please autocorrect stop trying to correct bot to boy
basically breaking bad except all the dialogue is brainrot
@lyxal please autocorrect continue
10:31
@Themoonisacheese alternatively, r/okbuddychicanery :p
 
2 hours later…
12:46
oh. bot died
!!/group delete "@Ginger"
...
wondrous
13:44
!!/group delete "@Ginger"
@Ginger Group @Ginger has been deleted.
!!/trick upsert "commands" ""
@lyxal Trick commands updated.
!!/commands
All commands
 ├── amilyxal
 ├── coffee
 ├── command
 │   ├── permission
 │   └── permissions
 ├── commands
 ├── cookie
 ├── group
 │   ├── create
 │   ├── delete
 │   ├── info
 │   ├── manager
 │   └── member
 ├── help
 ├── hug
 ├── maul
 ├── party
 ├── status
 ├── sus
 ├── trick
 │   ├── delete
 │   └── upsert
 ├── user
 │   └── info
 ├── info
 └── rizz
13:45
worth a try :p
gingershaped pushed a commit to VyxalBot3/main in Vyxal/VyxalBot3: Keep tricks from being empty
womp womp
!!/trick delete "commands"
@Ginger Trick commands deleted.
anyway
the new groups system is very powerful, as you have seen
!!/trick upsert "" "what about the command name?"
13:47
@lyxal Trick `` updated.
!!/
!!/commands
All commands
 ├── amilyxal
 ├── coffee
 ├── command
 │   ├── permission
 │   └── permissions
 ├── commands
 ├── cookie
 ├── group
 │   ├── create
 │   ├── delete
 │   ├── info
 │   ├── manager
 │   └── member
 ├── help
 ├── hug
 ├── maul
 ├── party
 ├── status
 ├── sus
 ├── trick
 │   ├── delete
 │   └── upsert
 ├── user
 │   └── info
 ├── info
 ├── rizz
 └──
amazing
well then
as I was saying: how do you want groups to be set up?
command permissions are per-group
!!/trick upsert "test" "‎"
13:48
@lyxal Trick test updated.
@Ginger admin, room owner, normal
I imagine
right
!!/group create "member"
@Ginger Group member created.
I think membership was required to !!/ping
I think so, but I'd argue !!/ping isn't needed
13:50
!!/command permission "ping" add "member"
not in today's economy at least
@Ginger !!/ping is now usable by member.
!!/command permission "group" remove "admin"
@lyxal !!/group is already not explicitly usable by admin.
13:50
what're you trying to do
!!/command permission "command permission" remove "admin"
@lyxal !!/command is already not explicitly usable by admin.
@lyxal !!/command permission is no longer explicitly usable by admin.
well
that's the end of that then
you misunderstand
if a command isn't explicitly usable by any group, it's usable by every group
oh
13:51
including users without groups
!!/command permission "group create" remove "admin"
@lyxal !!/group create is no longer explicitly usable by admin.
!!/command permission "group add" remove "admin"
@lyxal !!/group add is already not explicitly usable by admin.
admin for whoever wants it :p
13:52
are you sure you want everyone to be able to do that
not really I just wanted to do the funny :p
!!/group create "lyxal"
@lyxal Group lyxal created.
one tick I have an idea
!!/group member "lyxal" add "lyxal"
@lyxal Parsing error: Unclosed string
@lyxal Added you to group lyxal.
!!/command permission "group create" add "lyxal"
13:53
@lyxal !!/group create is now usable by lyxal.
so does that mean only I can add groups now?
no
as a member of admin I can use every command regardless of permissions
admin is special-cased for that
dang it :p
it's as if you know me
know me too well even :p
and of course I have access to the database, so...
@lyxal indeed! which is also why this doesn't work:
!!/group member "admin" remove "Ginger"
@Ginger Ginger may not be removed from group admin.
13:55
I have a flag set that prevents me from being removed from admin without manually editing the database
it can be set for anyone, but I implemented it specifically for myself
7 messages moved to ­Trash
so the point of !!/trick is to replace things like !!/info
which is now a trick
and to allow us to add more commands like that without me having to patch the bot
I think that's everything interesting tested
I also implemented it as an example, for you, of the possibilities that having a real database allow for
well done, the bot lyxal-proof
13:58
wondrous
also, you may notice that !!/register and !!/refresh are gone
when you ran !!/amilyxal yesterday, your user information got added to the database automatically
I made a certificate for you
I am unsure why I didn't do this the first time
but that's how it works now :p
@lyxal wondrous. thank you
always nice to have my work appreciated :p
!!/status tingly
@lyxal I miss my w-w-wife. Some hedgehog fwiwted with hew and nuzzles your necky wecky nyow she's weft me fow t-t-the anyimaw. nuzzles your necky wecky
so I would suggest that you fix the command permissions
14:02
!!/command permission "command permissions" add "lyxal"
@lyxal !!/command permissions is usable by everybody.
well that's not what I said to do
@lyxal !!/command permissions is now usable by lyxal.
stupid letter s
I should probably implement an error message for when extra arguments are provided
14:02
getting in the way of my desires
also I would like to request permission to de-RO TESP
don't think they are at present the kind of person we want on the team
(meant to ask this earlier but ah well)
vyxal was built on the back of questionably immature users :p
I would not advocate for keeping it that way
+ TESP is in fact a code contributor which is half the reason I add ROs here
...oh?
14:05
and there's that funny list parsing digraph too
mmm
I see
I still don't think that excuses their behavior
but you're the boss
@Ginger for sure it doesn't excuse TNB behaviour
but in terms of here, I don't see reason at this time to let consequences spill over
I don't see reason not to; they're the same user
TESP is currently under suspension for their behaviour
that doesn't equate to needing RO removal from here
because the behaviour problem is separate to room management
yes, room management is influenced by behaviour
but so far, there's been no abuse of room management
so it's a tentative keeping around for now
shit i gotta go
right
14:10
didn't realise it was 1:10am
gosh dang
o/
gingershaped pushed a commit to VyxalBot3/main in Vyxal/VyxalBot3: Error when extra arguments are provided
14:27
!!/command permission "command permission" add "admin"
@Ginger !!/command permission is now usable by admin.
!!/command permission "group add" add "admin"
@Ginger !!/group add is now usable by admin.
!!/command permission "group delete" add "admin"
@Ginger !!/group delete is already usable by admin.
14:28
@Bridget i just had an epiphany and had to outgolf this using very advanced techniques Vyxal 3, 14 bytes: eṂƛΩ)EÞTƛS}/ȧ∑ Vyxal It Online!
what's that filter lambda doing
okay what are the uh
other things I was gonna implement
I think reactions should be hardcoded tbh
@Ginger removes empty strings (heh) that are present because the day 1 list has 2 columns separated by 3 spaces
hang on, bridget's tripping
uh
@Themoonisacheese your DNS is borked
it can't resolve chat
or, apparently, any website
maybe I'm using ping wrong
I'm going to reboot bridget
are we back
[the cat] this message didn't go through
@Ginger ?????????????
14:40
[pacman] also you can just use floor to remove empty strings i believe
@Ginger ping is layer 3, http is layer 5
ping bare domain names
[the cat] it is possible that I am stupid
[the cat] lmao
forgive me
!!/maul ginger
14:41
@Themoonisacheese Incorrect type supplied for argument target; expected STRING but got FLAG
???????????????
that's embarrasing
@Themoonisacheese you need to quote strings
barewords are flags, which are different
!!/maul "ginger and vb"
                                                               YOU CAN RUN, BUT YOU CAN'T HIDE, Ginger and vb
                                                     ___._
                                                   .'  <0>'-.._
                                                  /  /.--.____")
                                                 |   \   __.-'~
                                                 |  :  -'/
                                                /:.  :.-'
__________                                     | : '. |
this must look mint on discord
14:43
you could say that
discordapp.com blocked at work
for obvious reasons
fun!
!!/help "maul"
@Ginger !!/maul (STRING target): SUMMON THE RAPTORS
it's weird that it's so laggy
:shrug:
idk either
!!/help
14:46
the chat servers should be on a CDN, i can't possibly have more than 25ms ping to them
I'm Vyxal Bot 3, written by Ginger on behalf of Vyxal Corp.
All of my commands start with !!/
If you want help for a specific command, run !!/help "<command name>"; to view every command, run !!/commands.
New to Vyxal? Try !!/info for more information.
I can see the event logs on my end, it only takes it like 200ms to respond to the commands once it gets them
it's just taking chat like 2.5 seconds to send the event and then another second for the message to come back
!!/commands permission "ping" add "member"
All commands
 ├── amilyxal
 ├── coffee
 ├── command
 │   ├── permission
 │   └── permissions
 ├── commands
 ├── cookie
 ├── group
 │   ├── create
 │   ├── delete
 │   ├── info
 │   ├── manager
 │   └── member
 ├── help
 ├── hug
 ├── maul
 ├── party
 ├── status
 ├── sus
 ├── trick
 │   ├── delete
 │   └── upsert
 ├── user
 │   └── info
 ├── info
 ├── rizz
 ├──
 ├── test
 └── testcommand
14:51
!!/group member "member" add "Themoonisacheese"
@Ginger Added Themoonisacheese to group member.
!!/command permission "ping" add "member"
@Ginger !!/ping is already usable by member.
I see
!!/help ping
14:51
@Themoonisacheese Incorrect type supplied for argument name; expected STRING but got FLAG
!!/group member "member" add "Ginger"
@Ginger Added you to group member.
!!/help "ping"
@Themoonisacheese There is no command named "ping".
uh
what
14:52
glad i could be of assistance lol
gingershaped pushed a commit to VyxalBot3/main in Vyxal/VyxalBot3: Register !!/ping as a command
!!/group member "member" add "lyxal"
@Ginger Added lyxal to group member.
VB2 had like three commands for the group system
14:55
and they all had different name schemes
is group memberhsip decided by username?
it's by user ID
14:56
if, somehow, multiple users have the same name then the bot will ask for clarification
how fucky would that get if user id -2 joined
it'd keep working
but users are only added to the database when they use a command
and our user -2 is Feeds, which is only sort of a user and cannot actually join rooms
what if you try to add someone to a group when they haven't used a command yet
it'll say they don't exist
!!/group member "member" add "emanresu A"
@Ginger The group !!/group has no subcommand named "members". Its subcommands are: create, delete, info, manager, member
@Ginger I don't know of any users named "emanresu A".
14:58
like so
holy shit it works on edits!?
yep
I don't know if this is documented but every parameter which takes a username will also take a user ID, and the bot tells you to use a user ID if two users have the same name
when you're working with lyxal you want to consider all the possibilities :p
15:00
hence my inability to be removed from admin (and the fact that admin cannot be deleted)
it's actually my presence in admin that keeps it from being deletable; the bot will refuse to delete groups with protected members
you know him so well
but doesn't that also mean that any group you're in is not deletable?
no
protection is per-membership
group memberships are their own table with a boolean protected value
that's so incredibly complicated for so little reason i love it
it's complicated because he forced my hand, moon
I had no choice
VB2 originally didn't have this system, but he removed me from its admin group and used his mod powers to hide that he did so
and I spent ten minutes trying to figure out what happened
15:03
sometimes I wonder why I voted for him as a mod :p
if it were up to me i'd just restrict commands to ROs
maybe i'm just too sysadmin-pilled
do note that he is an RO :p
not like he, yknow, created the language or anything
yeah but if he wants to fuck up your perms for the bot then he has to remove you as an RO
and that's less fun
eh
this works
i mean yes
it's also very complicated lol
15:05
(and I do actually need the system, users with bot admin rights have always been a subset of ROs)
VB2 also had a "ping" group, which it no longer does
oh that reminds me
!!/group manager "member" add "admin"
@Ginger admin is now managing member.
technically I don't need to do that since admin is hardcoded to manage all groups, but whatever
now
hear me out
!!/group manager "admin" add "member"
obviously i don't have the perms but
it crashed
15:07
jesus christ, what happened
| Traceback (most recent call last):
|   File "/srv/VyxalBot3/vyxalbot3/commands/__init__.py", line 97, in run
|     await self.handle(
|     ...<3 lines>...
|     )
|   File "/srv/VyxalBot3/vyxalbot3/commands/__init__.py", line 204, in handle
|     return await command(*argument_values, **keyword_args)
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/srv/VyxalBot3/vyxalbot3/commands/__init__.py", line 596, in group_manager_command
|     match self.can_user_manage(current_user, manager_group):
I see
think I forgot an include
@lyxal your fuzzing-fu is weak
who needs tests
fun fact: way back in the day, Bridget and VB were one bot
this caused Problems
okay, fixed it
!!/group manager "admin" add "member"
no you didn't
apparently not
it just left the room lmao
15:10
> TypeError: unhashable type: 'Group'
well fuck you too
all of this for a command i don't even have perms for
okay, fixed it
15:41
I think I know how reactions will work
I'll hardcode a map of regexen to command names, and named capturing groups will be automatically supplied as arguments
or maybe I'll just add a command to do that and store them in the db
:3c
!!/group manager "admin" add "member"
@Themoonisacheese You are not allowed to modify this group. Only members of groups admin are allowed to do that.
@Themoonisacheese 🎉🥳🎈🎈🎉🎊🎊🎈🎈🎈🎉🎉🎊🎊🎊
[the cat] hooray!
15:47
ok but what if though
[the cat] I think admin manages itself actually
[the cat] ...maybe I did overcomplicate it lmao
i also assume managing perms aren't actually resolved recursively
? why would they be
ok but how funny would it be though
!!/group add "droste"
15:51
wowee
it's thinking about it
i'm gonna go on a limb and say it crashed
that's monospaced text lmao
I intentionally did that so it wouldn't run the command
okay, do I add reaction support or do I finish implementing VB2's commands
most of what's left are the github commands
you mean, the things VB is originially built for, the rest being fluff?
are you doubting the necessity of !!/cookie
15:54
25% chance that i do
!!/cookie
@Themoonisacheese Here you go: 🍪
it's very useful i would never
good to hear
16:18
[user] What is happening here
[the cat] bot
 
3 hours later…
19:21
hmm
!!/party
@Seggan 🥳🎈🎊🥳🎈🥳🥳🎊🎊🎈🎈🎈🥳🎈🎊
eyyy
19:44
vyxal-bot[bot] opened issue #115 (test issue) in Vyxal/Sandbox
vyxal-bot[bot] opened issue #116 (test issue) in Vyxal/Sandbox
uh
you only had to do it once :p
vyxal-bot[bot] closed issue #116 (test issue) as completed in Vyxal/Sandbox
vyxal-bot[bot] closed issue #115 (test issue) as not_planned in Vyxal/Sandbox
gingershaped pushed a commit to VyxalBot3/main in Vyxal/VyxalBot3: Implement !!/issue open
gingershaped pushed a commit to VyxalBot3/main in Vyxal/VyxalBot3: Format with black
gingershaped pushed a commit to VyxalBot3/main in Vyxal/VyxalBot3: Implement !!/issue close
!!/group member "member" add "Seggan"
@Ginger Added Seggan to group member.
 
3 hours later…
22:48
!!/commands
All commands
 ├── amilyxal
 ├── coffee
 ├── command
 │   ├── permission
 │   └── permissions
 ├── commands
 ├── cookie
 ├── group
 │   ├── create
 │   ├── delete
 │   ├── info
 │   ├── manager
 │   └── member
 ├── help
 ├── hug
 ├── maul
 ├── party
 ├── ping
 ├── status
 ├── sus
 ├── trick
 │   ├── delete
 │   └── upsert
 ├── user
 │   └── info
 ├── info
 ├── rizz
 ├──
 ├── test
 └── testcommand
!!/status
@Ginger I am doing some code refactoring.
!!/trick delete ""
!!/testcommand
@Ginger Trick `` deleted.
For discussion about Vyxal. Repo: github.com/Vyxal/Vyxal | Org: github.com/Vyxal | Interpreter: vyxal.github.io/latest.html (v3) OR vyxal.pythonanywhere.com (v2) | Discord: discord.gg/N9AfEF9zz5For discussion about Vyxal. Repo: github.com/Vyxal/Vyxal | Org: github.com/Vyxal | Interpreter: vyxal.github.io/latest.html (v3) OR vyxal.pythonanywhere.com (v2) | Discord: discord.gg/N9AfEF9zz5For discussion about Vyxal. Repo: github.com/Vyxal/Vyxal | Org: github.com/Vyxal | Interpreter: vyxal.github.io/latest.html (v3) OR vyxal.pythonanywhere.com (v2) | Discord: discord.gg/N9AfEF9zz5For discussion
22:48
!!/test
@Ginger ‎
!!/trick delete "testcommand"
@Ginger Trick testcommand deleted.
!!/trick delete "test"
@Ginger Trick test deleted.

« first day (1694 days earlier)      last day (41 days later) »