-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
I'd like support for spoilers when using text commands just as is available with slash commands.
By updating the prefix to include the two pipes, the bot still recognizes the instagram link.
"Prefix": [ "https://www.instagram.com/", "https://instagram.com/", "http://www.instagram.com/", "http://instagram.com/", "||https://instagram.com/", "|| https://instagram.com/" ]
The bot could register that the prefix contains pipes and use the isSpoiler parameter in FileAttachment (like with the slash commands).
It appears the infrastructure is already present, and just needs to detect whether the text command or prefix contains pipes and adjust accordingly.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers