Skip to content

Commit d089a6c

Browse files
committed
cleanup, bump 0.11, don't uwu imgs ids, issue #79 resolved
1 parent 93202be commit d089a6c

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

CONTRIBUTORS.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
@egregors
22
@cpro29a
3-
@lamak
3+
@lamak
4+
@getjump
5+
@zemlya25
6+
@moonbaseDelta
7+
@Grawl
8+
@aggyomfg

bot/filters.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class UwuFilter(BaseFilter):
1919
def filter(self, message) -> bool:
2020
if message.text:
2121
return bool(re.search(r'u(w+|v+)u', message.text, re.IGNORECASE))
22-
else:
23-
return False
22+
23+
return False
2424

2525

2626
admin_filter = AdminFilter()

bot/skills/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from skills.tree import add_tree
1818
from skills.uwu import add_uwu
1919

20-
__version__ = "0.10"
20+
__version__ = "0.11"
2121

2222
logger = logging.getLogger(__name__)
2323

bot/skills/uwu.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ def add_uwu(upd: Updater, handlers_group: int):
1818
@run_async
1919
def uwu(update: Update, context: CallbackContext):
2020
well_prepared_anti_UwU_imgs = [
21-
'AgADAgADiqwxG2pVAAFJ2TIJLoDENOSxBcEOAAQBAAMCAANtAAO1lQEAARYE',
22-
'AgADAgADiawxG2pVAAFJU823IoEQJvfOpcIPAAQBAAMCAANtAAOpKwMAARYE',
23-
'AgADAgADiqwxG2pVAAFJ2TIJLoDENOSxBcEOAAQBAAMCAANtAAO1lQEAARYE'
21+
'AgADAgADKqwxG9gDCEk48KXBcoIEgkpOyw4ABAEAAwIAA20AA6DsAAIWBA',
22+
'AgADAgADQKwxG2TDCElWC03ITmP10r5fyw4ABAEAAwIAA20AA73rAAIWBA',
23+
'AgADAgADQawxG2TDCEm-OKVgXYSOoxUawQ4ABAEAAwIAA20AA-aVAQABFgQ'
2424
]
2525
chat_id = update.effective_chat.id
2626
message_id = update.message.message_id

0 commit comments

Comments
 (0)