#(BehR) DiscordMessageTag questions
24 messages · Page 1 of 1 (latest)
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
- the first is a webhook from Origin Realms' news feed;
- the second is a message from someone subscribing to my discord server,
- and the third is another webhook from our discord here, just another news feed from #changelog
the discord message tag can be made with <discord_message[c,975907326357811260,1090674886835458070]>
the author.name is flexualelements
they dont have access to the channel at all but i guess discord sends it as if it were them
but the <[DiscordMessageTag].text> is invalid
im trying to figure out how to get that text Pingas joined Committed Relationship membership and has been a subscriber of b for 1 month!?
further debugging, i was able to webget the channel.message via the api (https://discord.com/developers/docs/resources/channel#get-channel-message) and got this:
---
id: '1090674886835458070'
type: 25
content: ''
channel_id: '975907326357811260'
author:
id: '425350632963309571'
username: flexualelements
global_name: Flexual Elements
avatar: 73e2689e5829022501ce846e03282c1e
discriminator: '0'
public_flags: 128
avatar_decoration:
attachments: []
embeds: []
mentions: []
mention_roles: []
pinned: false
mention_everyone: false
tts: false
timestamp: '2023-03-29T16:32:36.781000+00:00'
edited_timestamp:
flags: 0
components: []
role_subscription_data:
role_subscription_listing_id: '1072642155539079168'
tier_name: Committed Relationship membership
total_months_subscribed: 1
is_renewal: false
position: 0
kind of just typing out to rubber-ducky this shit at this point, but uh
type being 25 referenced here https://discord.com/developers/docs/resources/channel#get-channel-message
means it's a ROLE_SUBSCRIPTION_PURCHASE type message;
and role_subscription_data has everything i need i guess
cute
probably incredibly low-priority feature request / idea but being able to determine if a message is a system subscriber message could be a thing 
typing to myself resolved my issue though so im closing this
i dont really need the tag when the api can handle it
and i dont bother our wonderful devs :>