discord / discord-api-docs

Official Discord API Documentation
https://discord.com/developers/docs/intro
Other
5.99k stars 1.26k forks source link

Message object "content" not updated for "call" types after call ended #1343

Closed Bzly closed 4 years ago

Bzly commented 4 years ago

Steps to reproduce:

  1. Call a friend in a group or private DM in Discord
  2. Notice the automatically generated message says "\<username> started a call"
  3. End call after a few minutes and notice message now reads "\<username> started a call that lasted x minutes/hours"
  4. Message object still returns the original "\<username> started a call" as content.

It would be nice if call lengths were retrievable via the API, at least by having this content field updated to reflect the actually displayed message (bug/overlooked?). Returning an "end call" timestamp somewhere would be better, though (feature request).

kgscialdone commented 4 years ago

How would one make use of this without breaking ToS? As far as I know, bot accounts can't make or receive calls. Better yet, how would you even notice this without breaking ToS?

Bzly commented 4 years ago

I don't want to make or receive calls and I don't think that was even implied.

I want to be able to see the durations of previous (now ended) calls.

kgscialdone commented 4 years ago

You misunderstand me. How would this information even be accessible to a bot, since they can't see your DMs with other people and can't be involved in calls themselves? Group DMs can't be the answer either, since bots can't be added to them. The only way I can imagine you making use of this would be via a selfbot or userbot, which is a violation of Discord's terms of service.

Bzly commented 4 years ago

Sure, I retract my feature request then.

Returning content which does not match the message displayed on a user's screen (but an old version) is still probably a bug though - whether one should be noticing it or not. I appreciate it's not pressing at all due to this.