diff --git a/emoji.js b/emoji.js
index ffc9da9..d655d6f 100644
--- a/emoji.js
+++ b/emoji.js
@@ -1874,7 +1874,7 @@ function groupcat() {
pageContainer.innerHTML =
`
diff --git a/glass.css b/glass.css
index 208e91b..0d32e7d 100644
--- a/glass.css
+++ b/glass.css
@@ -190,6 +190,18 @@
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 100%);
}
+.nonb-theme #page::after {
+ content: '';
+ position: fixed;
+ top: 0;
+ z-index: -1;
+ width: 100%;
+ height: var(--grad-height);
+ background: linear-gradient(90deg, rgb(252, 244, 52) 0%, rgb(255, 255, 255) 50%, rgb(156, 89, 209) 100%);
+ -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 100%);
+ mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 100%);
+}
+
.theme-button.trans-theme {
background: linear-gradient(90deg, rgb(27, 111, 133) 0%, rgb(138, 82, 93) 25%, rgb(113, 113, 113) 50%, rgb(138, 82, 93) 75%, rgb(27, 111, 133) 100%);
background-size: cover;
@@ -200,8 +212,14 @@
background-size: cover;
}
+.theme-button.nonb-theme {
+ background: linear-gradient(90deg, rgb(198, 192, 40) 0%, rgb(166, 166, 166) 50%, rgb(121, 68, 162) 100%);
+ background-size: cover;
+}
+
.pride-theme .settings > h1,
-.trans-theme .settings > h1
+.trans-theme .settings > h1,
+.nonb-theme .settings > h1
{
background: transparent;
position: static;
diff --git a/lang.js b/lang.js
index 493d1a8..dacb07c 100644
--- a/lang.js
+++ b/lang.js
@@ -66,7 +66,7 @@ function setlang(lang) {
const en = {
"reh": "English, US", // future reference for people adding languages disregard the reh
"language": "English, US", // Replace this with that the language is called in that language (ie: "EspaƱol" instead of "Spanish")
- "page_home": "Home",
+ "page_home": "Home", // To update a language easier I suggest looking at the diff between en and the language you're editing (sorry I don't have a better solution)
"page_start": "Start",
"page_explore": "Explore",
"page_inbox": "Inbox",
@@ -217,11 +217,15 @@ const en = {
"favorite": "Favorite",
"download": "Download",
"add": "Add",
- "adduser": "Add Member", // update
- "transfer": "Transfer Ownership", // update
- "bug": "Report Bug", // update
- "datarequest": "Request Data", // update
- "discuss": "Discuss", // update
+ "adduser": "Add Member",
+ "transfer": "Transfer Ownership",
+ "bug": "Report Bug",
+ "datarequest": "Request Data",
+ "discuss": "Discuss",
+ "ping": "Ping",
+ "moddel": "Mod Delete",
+ "modpost": "Moderate Post",
+ "message": "Message",
},
"info": {
"accexists": "Username Already Taken!",
@@ -1851,6 +1855,10 @@ const owo = {
"bug": "Wepowt Bug~", // update
"datarequest": "Wequest Data~", // update
"discuss": "Discuss~", // update
+ "ping": "Pwing",
+ "moddel": "Mod Dewete",
+ "modpost": "Mod Powost",
+ "message": "Message~ >.<",
},
"info": {
"accexists": "Usename Awweady Taken! >w<",
@@ -2072,11 +2080,15 @@ const eris = {
"favorite": "favourite",
"download": "download",
"add": "add",
- "adduser": "add someone (mistake)", // update
- "transfer": "make someone else owner (mistake)", // update
- "bug": "i found a problem", // update
- "datarequest": "i love collecting infomation", // update
- "discuss": "discuss", // update
+ "adduser": "add someone (mistake)",
+ "transfer": "make someone else owner (mistake)",
+ "bug": "i found a problem",
+ "datarequest": "i love collecting infomation",
+ "discuss": "discuss",
+ "ping": "@everyone",
+ "moddel": "banish post",
+ "modpost": "banish",
+ "message": "annoy",
},
"info": {
"accexists": "someone already sniped that one",
@@ -2139,7 +2151,7 @@ const eris = {
"profilecolor": "colour",
"profilepic": "pfp",
},
- "chats": { // update
+ "chats": {
"owner": "owner",
"members": "members"
}
@@ -2303,6 +2315,10 @@ const goobert = {
"bug": "goobert",
"datarequest": "goobert",
"discuss": "goobert",
+ "ping": "goobert",
+ "moddel": "goobert",
+ "modpost": "goobert",
+ "message": "goobert",
},
"info": {
"accexists": "goobert",
diff --git a/markdown.js b/markdown.js
index b5e5c0e..adeef15 100644
--- a/markdown.js
+++ b/markdown.js
@@ -49,7 +49,7 @@ function erimd(content) {
function meowerEmojis(content, emojis) {
for (const emoji of emojis) {
- content = content.replaceAll(`<:${emoji._id}>`, `
`);
+ content = content.replaceAll(`<:${emoji._id}>`, `
`);
}
return content;
}
@@ -59,6 +59,8 @@ function loadinputs() {
setTop()
let textin
+ pendingAttachments = [];
+
textin = `
`
@@ -186,7 +188,7 @@ function attach(attachment) {
let embeddedElement;
- if (attachment.mime.includes("image")) {
+ if (attachment.mime.includes("image/") && attachment.size < (10 << 20)) {
if (whitelist.some(source => link.includes(source))) {
const element = document.createElement("div");
element.classList.add("image-outer");
@@ -204,7 +206,7 @@ function attach(attachment) {
element.appendChild(imgElement);
embeddedElement = element;
}
- } else if (attachment.mime.includes("video")) {
+ } else if (attachment.mime.includes("video/")) {
const element = document.createElement("div");
element.classList.add("media-outer");
@@ -219,7 +221,7 @@ function attach(attachment) {
element.appendChild(mediaElement);
embeddedElement = element;
- } else if (attachment.mime.includes("audio")) {
+ } else if (attachment.mime.includes("audio/")) {
const element = document.createElement("div");
element.classList.add("media-outer");
@@ -390,28 +392,30 @@ function createButtonContainer(p) {
}
buttonContainer.innerHTML = `