From ba1a5358c8f30f40ce793c42f3512b29c851ae6b Mon Sep 17 00:00:00 2001 From: DrTransmisia <95589613+DrTransmisia@users.noreply.github.com> Date: Wed, 11 May 2022 13:05:32 +0200 Subject: [PATCH 4/5] Bussysussy (#258) * LE SCHIZOPHRENIC ID HAS ARRIVED :MARSEYCRAZYTROLL: * other batch of tags --- files/helpers/const.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/helpers/const.py b/files/helpers/const.py index 2214882dd8..bf277b3884 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -252,6 +252,7 @@ else: AUTOCHOICE_ID = 8 BASEDBOT_ID = 0 + SCHIZO_ID = 0 A_ID = 0 KIPPY_ID = 0 GIFT_NOTIF_ID = 9 From 04aefc246240faf1f980d749e3fb566948fa277a Mon Sep 17 00:00:00 2001 From: DrTransmisia <95589613+DrTransmisia@users.noreply.github.com> Date: Wed, 11 May 2022 19:49:27 +0200 Subject: [PATCH 5/5] worst asymptotic behavior (#259) * ditched the log search in favor of the polynomial search otherwise poor carp can't search for xis boyfriend marseysamhyde querying "hyde" and instead of properly tag it ["sam", "hyde"] I had to ditch the search alg made in the image of G-d * le new line * anton-d on all dramaverse --- files/routes/static.py | 2 +- files/templates/emoji_modal.html | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index bb0f4e6f24..122397306d 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -35,7 +35,7 @@ def marsey_list(): # From database emojis = [{ "name": emoji.name, - "author": author if SITE_NAME == 'rDrama' else None, + "author": author if SITE_NAME == 'rDrama' or author == "anton-d" else None, # yikes, I don't really like this DB schema. Next time be better "tags": emoji.tags.split(" ") + [emoji.name[len("marsey"):] if emoji.name.startswith("marsey") else emoji.name], "count": emoji.count, diff --git a/files/templates/emoji_modal.html b/files/templates/emoji_modal.html index 7e41bf92cd..0414885f32 100644 --- a/files/templates/emoji_modal.html +++ b/files/templates/emoji_modal.html @@ -57,6 +57,13 @@ +
+