New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[General] Add toggle to [p]serverinfo
that shows more details
#2382
Conversation
- Added some more informations about the server. (Verification level, AFK channel and timeout, custom emojis and special features). - Added custom texts for Region (and Verification levels). - Added more details about members (Number of humans, bots, and all status). - Show special features only if the server has one. - Show "Verified" logo only if the server is verified. - And changed the footer by adding how many time the bot as join the server.
Just FYI, your PR is failing a style check (clicky). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall nice looking embed with more info. Would love to see some leveraging of the mobile status info in this at some point too. There are a few things which should be changed here before this gets merged.
Added exception on server command for the phrase "To leave a server, just type its number.".
Update core_commands.py
- Adding "lurkers" check, for the new feature that are on bot which allow users to join a server in read-only (Works only on verified servers for now) - Adding streaming status. - Adding mobile status with suggestion of Sinbad.
I know that not everyone likes my PR for this serverinfo command, and I really can understand that because it's totally different than the original command, but also some people like it so that's why I continue to trying to improve it.
Thanks to testing channel on Red Discord for all your help. |
If this PR ends up being rejected, I wouldn't mind seeing it in a 3rd party cog. |
That's what I've already done. I've added it into a 3rd party cog in my repo, that replace the original command. |
The embed is more cluttered, but I think the information on it is still easy to find. I was initially thinking of making it an option / add a "verbosity" argument to serverinfo, but I don't think that's necessary. So purely from a black box perspective I'd give this my 👍 |
I feel like this would be an appropriate candidate for a |
The detection of lurkers there is a bug to be fixed in discord (see: discord/discord-api-docs#855) , we shouldn't include something which exposes them in the mean time. I also agree with kowlin about the verbosity setting, and it does not have to significantly change the logic to use this, just place certain parts under and |
I've added a bool that are False by default and sent the original serverinfo command, and if set to True send my edited version. And I've disabled the lurkers detection until this bug (discord/discord-api-docs#855) isn't fixed.
I've added a bool that are False by default and sent the original serverinfo command, and if set to True send my edited version, and finally I think it's better with that, if users want more information about the server it just need to set True when send the command. And I've disabled the lurkers detection until the bug @mikeshardmind mentionned isn't fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks for the PR!
[p]serverinfo
that shows more details
Type
Description of the changes
Using
[p]serverinfo true
shows more details about the guild, such as verification levels, AFK channel and timeout, number of custom emojis, special and/or Nitro boost features. This is untoggled by default.