mchangrh / sb-slash

Sponsorblock with discord slash commands
https://sb-slash.mchang.workers.dev/invite
GNU General Public License v3.0
7 stars 6 forks source link

Add username to /segmentinfo and Lookup Segment button #32

Closed mini-bomba closed 2 years ago

mini-bomba commented 2 years ago

As the title announces, this PR adds usernames of the segment submitter to the embeds of /segmentinfo slash-commands and "Lookup Segment" buttons on the /userinfo slash-command.

As with /userinfo, the username will be prefixed with [VIP] if they are one (the same code is used) If the user didn't set a username (userID == userName), it is not shown.

mchangrh commented 2 years ago

the omission of usernames was deliberate, in both the api and in sb/