Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 06409cf

Browse files
committed
haste: Remove unnecessary filters
Keep the plugin cleaner, make it work in private chats and also allow passing edited text messages as commands
1 parent 022639c commit 06409cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/haste/haste.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
BASE = "https://hastebin.com"
2828

2929

30-
@Client.on_message(Filters.command("haste", prefix="!") & Filters.reply & ~Filters.edited & Filters.group)
30+
@Client.on_message(Filters.command("haste", prefix="!") & Filters.reply)
3131
def haste(client, message):
3232
reply = message.reply_to_message
3333

0 commit comments

Comments
 (0)