discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

HTTP only bots using `/channels/{channel.id}/typing` display as offline in online category

Open IllagerCaptain opened this issue 1 year ago • 0 comments

Description

HTTP only bots display in the online list without an indicator.

However, an issue arises when said bot POSTs to /channels/{channel.id}/typing. In the member list, the bot displays the offline typing status, and when it finishes typing, has the offline indicator, but remains in the online list.

The status will return to normal when switching channels.

Steps to Reproduce

  1. Set up an HTTP only bot, make sure it is responding to pings properly.
  2. Send a POST request to /channels/{channel.id}/typing.
  3. Notice it's typing indicator is gray.
  4. Notice when it finishes typing, it has the offline indicator.

Expected Behavior

It shouldn't affect the status indicator at all, instead just send the normal "Bot name is typing" below the channel's message box.

Current Behavior

It affects the status indicator.

Screenshots/Videos

The bot appears in the online category, but with offline indicator.

Client and System Information

discord-interactions for responding to interactions, using Linux. Manual HTTP request used for typing indicator. Visual effects tested on Canary 210980 (52f0ab9), using Windows 10.

IllagerCaptain avatar Jul 06 '23 12:07 IllagerCaptain