Skip to content

Add AFK status to /whoami command #109

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

Merged
merged 6 commits into from
Jul 29, 2022
Merged

Add AFK status to /whoami command #109

merged 6 commits into from
Jul 29, 2022

Conversation

notsniped
Copy link
Member

This will show a user's AFK status and response when /whoami command is used, if they are AFK of course.

Screenshot_20220729_193159

This was changed because when debugging, I found out that append method couldn't be used with a string. This was the next best option.
Turns out that Discord UNIX timestamps doesn't support fractions of a second. I ended up rounding this for support reasons, and that literally no one needs to know the timestamp in such precision.
@notsniped notsniped added enhancement New feature or request priority:medium area:main Changes to the main functioning code labels Jul 29, 2022
@notsniped notsniped self-assigned this Jul 29, 2022
@notsniped notsniped merged commit ef6c65c into main Jul 29, 2022
@notsniped notsniped deleted the whoami.show-afk-status branch July 29, 2022 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:main Changes to the main functioning code enhancement New feature or request priority:medium size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant