With aoi.music v2.4.0 getting released, introduces a (i think so) new feature
A device access feature! (The code is already changed, don't bother trying)
This feature, I believe is required for youtube videos that have an age-restriction or normally not being able to play without signing in.
This feature hosts a supposed google device on your own local device/where the bot is hosted.
Assuming, upon logging in, the host does not have any sort of commands to access the account, but I think it does store the data locally of the account, perhaps in node_modules. I'm not too sure so logging in with your own account of another bot's host is just really hurting you and not the host, So don't think you've got big control over the bot if you've somehow found out the code.
Also, it isn't required a login to the device for playback, though I recommend connecting it to an alt account for smooth playback ( If, for some reason, your users or you want to play a suggestive song, more specifically rap songs)
To be able to access age restricted or non-signed in access videos, sign in is required. Which requires a google account over the age of 18+ (while singing up or in account settings) for successful playback.
The code changes aswell once the running bot is stopped, it generates a new one everytime the bot is stopped or run again.
The error, upon playing a restricted video without signing in, is this:
This error is when it successfully signs in, but the account is under the age of 18 and therefore can't play the video: