From 06c2f8ffd0e09f24d0ddd6c2c4710ee12732abb6 Mon Sep 17 00:00:00 2001 From: retoor Date: Mon, 9 Dec 2024 21:48:50 +0100 Subject: [PATCH] Added Buffon blocker. --- Makefile | 8 +++++--- dist/Ragnar-1.3.37-py3-none-any.whl | Bin 7598 -> 7644 bytes dist/ragnar-1.3.37.tar.gz | Bin 6260 -> 6413 bytes src/ragnar/bot.py | 11 +++++++++-- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 92a8228..ee84442 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ +ENV=./.venv/bin/activate + all: ensure_env format build install test format: - ./.venv/bin/python -m pip install black - ./.venv/bin/python -m black . + ./.venv/bin/python -m pip install shed + . $(ENV) && python -m shed ensure_env: -@python3 -m venv .venv @@ -18,4 +20,4 @@ run: python -m ragnar.run test: - ./.venv/bin/python -m unittest ragnar.tests \ No newline at end of file + ./.venv/bin/python -m unittest ragnar.tests diff --git a/dist/Ragnar-1.3.37-py3-none-any.whl b/dist/Ragnar-1.3.37-py3-none-any.whl index e865cd750ad0dd099f5e12822b991e0de5158c93..86c0e9c3b73bc6c80e5fb3245e931b07ff6bc576 100644 GIT binary patch delta 3065 zcmZve2UL^U5`aUfAqhpAqyZvLr1L;25&=UsNCYGlmncXHgsRds0t(VgDAGZSfPge< zMv9cB2!epp6)TPW5XuUy-WbW6F!O%12_5P7->vtW8$}FR=*fy z9pXoxmOw_`(Gv6WYA3YCOR72`xIlZ7cDmwjgo%MIJ|X);jlQP>J_lFH`pw@w{(|w?jk}ER##5 zoRw1Z7>82SD6?dLCE?X>bLKQ2i1->43LDXWH?Nj-svboQnF~QhH0pLJSof3VRmA!eI20`mQ5x;*N%Mni z*Srt7{SmX78a$is&wIJid(j+Nwc9q>dy+ozpdFuM!1tM!33&X`zF zu>Cz8s4GZbG4KJ4EBQ%Pnk3pmM{31V;FyXOPGJ#=1+TI0A<*t4Ioz^do^3A};{l@P z1?KXtn&VpXb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ox?+caMmu4SMOWWt(n zrKd;g!ZXWjh$aSOPq?$AGsnNy`{Aet`^0QB{Q{AI8 ziM1MS9=RlZtsRutP~sovesusP;OZBuZZp@fbq8V6*AeOv7cm;51f3iicJAOe7IH>d|>U6I)F!d@CSrB^m z_SB&HeB;YQ9>ozfBZRZ7Usp(t4Fs$eKE}UJ`%SCMpZCt}^&3@RY4wWm*O!kxVhNHH zwCyRYq111|_^R9&+x8gdKk%YnJ{T|u;NBdS)giCFghl)-1AQkN$yX}l;n56eE?%Gn9XD!+q zx|B)u2YSv0z+z5GkFawE;x`9IK=bU)&l!|c3ZBrYQSw9--3*^FQN=Q1#lH(99?JTV zQa>JUr;&nvQe;F1CQo2eRSEyOB`27W&9kT2xaw4dbbzKNu(z2(vAA*Kiou8So;ric zy?ic41O>sD1H#FK0%NhEhjKC*FSM!|O1w6HMF1Ch8=;8H!H{ zSN(=pJ)=wY6LFvjCCw`vE^nj2DWWRfcmrkQG$vd?Zgh**gL;vl_^wEspCbBPmvXl= e(U$u+Ib_dgEJOY`(39T-V3|0)djq1!0{s_cBfHQ5 diff --git a/src/ragnar/bot.py b/src/ragnar/bot.py index 5da9753..434c15b 100644 --- a/src/ragnar/bot.py +++ b/src/ragnar/bot.py @@ -16,14 +16,15 @@ class Bot: self.name = self.username.split("@")[0] self.rant_history = [] self.amount_of_rants_to_check = 15 - names = { + self.sus_users = ["Buffon"] + self.names = { "no-spam": "Anna", "no-spam1": "Ira", "no-spam2": "Katya", "no-spam3": "Nastya", "no-spam4": "Vira", } - self.name = names.get(self.name, "everyone") + self.name = self.names.get(self.name, "everyone") self.mark_text = f"I am {self.name} and downvoted this post because post is considered spam. Your message will be removed from this community site due too much downvotes. See my profile for more information. Read my source code mentioned on my profile to see what you did wrong. Should be no problem for a developer.\n\nHave a nice day!\n\n\nIf the post is not spam, please mention @retoor in the comments of this rant." self.auth = None self.triggers = [ @@ -48,6 +49,10 @@ class Bot: "quality", "unqiue", "@ragnar", + "brides", + "singles", + "course", + "dating", ] self.api = Api(username=self.username, password=self.password) @@ -97,6 +102,8 @@ class Bot: @method_cache def is_user_sus(self, username): + if username in self.sus_users: + return True user_id = self.api.get_user_id(username) profile = self.api.get_profile(user_id) score = profile["score"]