#(Zemen) Is there a way to check if message is a link or an attached file? (Ddiscord)
19 messages · Page 1 of 1 (latest)
(Zemen) Is there a way to check if message is a link or an attached file? (Ddiscord)
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>
after discord message received channel:channel_id: - I'm using this, so probably I need to use something like - if <context.new_message.contains_...>
And contains what?
how do I check if message contains a link or an image?
or any other file
!t discordmessagetag.attach
Returns a list of attachment URLs for this message. Most messages will return an empty list, or a single-entry list,
however it is possible in some cases for a single message to have multiple attachments.
dDiscordBot
ListTag
this could help?