From 6a897a80a232d1580d89fe0b669478bbfa0eb096 Mon Sep 17 00:00:00 2001 From: Krzysztof Rudnicki Date: Mon, 24 Jun 2024 21:04:18 +0200 Subject: [PATCH] feat: more pies edge cases --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 29a0107..a30e2a7 100644 --- a/main.py +++ b/main.py @@ -118,7 +118,7 @@ def extract_source_uuid(message): command_map = { ("!kot", "!koty", "!kots", "!cat", "!cats", "!meow", "!miau", "!į“‹į“į“›", "!š““š“øš“½", "!š—øš—¼š˜"): lambda recipient: send_image(fetch_and_download_image("https://api.thecatapi.com/v1/images/search", [0, 'url']), recipient), - ("!pies", "!psy", "!dog", "!dogs", "!woof", "!szczek"): lambda recipient: send_image(fetch_and_download_image("https://dog.ceo/api/breeds/image/random", 'message'), recipient), + ("!pies", "!psy", "!dog", "!dogs", "!woof", "!szczek", "!š—½š—¶š—²š˜€", "!͓̽p͓̽i͓̽e͓̽s͓̽"): lambda recipient: send_image(fetch_and_download_image("https://dog.ceo/api/breeds/image/random", 'message'), recipient), ("!traps"): lambda recipient: send_image(download_image(((rule34Py().random_post(["trap"])).sample)), recipient) }