This bug occured as restrict_buttons was not in the initial scope for project; i.e., it was not intended for people to use buttons for other people's generations. So I overlooked it.
Quick fix that should reference the user from ctx and fall back to interaction (because Discord wanted different syntax for some reason), which gets updated when using buttons.
This also removes user discriminator from console log, because those are no longer used by Discord.
fixes #250
This bug occured as
restrict_buttons
was not in the initial scope for project; i.e., it was not intended for people to use buttons for other people's generations. So I overlooked it. Quick fix that should reference the user fromctx
and fall back tointeraction
(because Discord wanted different syntax for some reason), which gets updated when using buttons. This also removes user discriminator from console log, because those are no longer used by Discord.