mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-17 03:45:25 +02:00
Support for video embeds like discord
This commit is contained in:
@ -1110,6 +1110,11 @@
|
||||
// if ($.inArray(disembed.type, ["rich", "link", "video"]) == -1) {
|
||||
// continue;
|
||||
// }
|
||||
|
||||
disembed.isVideo = false;
|
||||
if (disembed.type == "video") {
|
||||
disembed.isVideo = true;
|
||||
}
|
||||
disembed.toRenderFooter = false;
|
||||
if (disembed.footer) {
|
||||
disembed.toRenderFooter = true;
|
||||
|
Reference in New Issue
Block a user