totaldev
totaldev•8mo ago

Support for text embeds?

Not sure how this can work with the discord API (i do see https://stackoverflow.com/questions/53201455/how-to-get-discord-bot-to-read-embed). Would be good for longform answers instead of breaking it up into multiple messages
Stack Overflow
How to get discord bot to read embed
I understand how a discord bot can read a regular user inputed message and respond using if(message.content.toLowerCase().includes('cyber')) message.channel.send("Key Word Detected "); But i...
No description
No description
Solution:
File previews are planned but also I think are gonna be a bit of a security nightmare so I need to make sure they’re implemented correctly
Jump to solution
7 Replies
totaldev
totaldev•8mo ago
No description
totaldev
totaldev•8mo ago
might actually start playing around with the open source code locally 😄
Rhys
Rhys•8mo ago
Huh interesting that should actually be supported Well, we don’t support bot embeds yet like this one Is that a preview of a text file? There’s three things we need to support that we don’t at the moment: - File previews - Reactions - Attachments other than images They’re on the list just haven’t been prioritized yet
totaldev
totaldev•8mo ago
ah "bot embeds" yeah it's a preview of a text file tried to paste something like 5000+ lines
Rhys
Rhys•8mo ago
Yeah even if we add “bot embeds” support it won’t support that since those are two different things
totaldev
totaldev•8mo ago
ahh i see
Solution
Rhys
Rhys•8mo ago
File previews are planned but also I think are gonna be a bit of a security nightmare so I need to make sure they’re implemented correctly