Discord.js: Detect if a message is a reply to another one

Created on 27 Nov 2020  路  2Comments  路  Source: discordjs/discord.js

Discord is rolling up a reply feature. Users can now reply to messages (see attached image). But currently there is no explicit way (so far known to us) to detect weather the message is a reply to another one, or just a simple message. Would be very useful to have this feature.

Ideally, would be useful to be able to detect if a message is a reply message, if yes then also get reference to the original message and user.

Capture

Thanks,
El

duplicate enhancement

Most helpful comment

This is actually already possible on v12, since replies use the same Message#reference property as crossposts, which are already supported. The PR for sending inline replies is not required.

All 2 comments

duplicate of and (will be) solved in https://github.com/discordjs/discord.js/pull/4874

This is actually already possible on v12, since replies use the same Message#reference property as crossposts, which are already supported. The PR for sending inline replies is not required.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tiritto picture tiritto  路  3Comments

PassTheMayo picture PassTheMayo  路  3Comments

iCrawl picture iCrawl  路  3Comments

smchase picture smchase  路  3Comments

BrandonCookeDev picture BrandonCookeDev  路  3Comments