Skip to content

Commit

Permalink
fix dump command
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWeaver786 authored Dec 15, 2020
1 parent 81dcb79 commit 0aa4997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userbot/plugins/animation3.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ async def _(event):
@bot.on(admin_cmd(pattern=r"dump$", outgoing=True))
@bot.on(sudo_cmd(pattern=r"dump$", allow_sudo=True))
async def _(message):
if event.fwd_from:
if message.fwd_from:
return
event = await edit_or_reply(message, "droping....")
try:
obj = message.pattern_match.group(1)
if len(obj) != 3:
raise IndexError
inp = " ".join(obj)
except IndexError:
inp = "🥞 🎂 🍫"
event = await edit_or_reply(message, "`droping....`")
u, t, g, o, s, n = inp.split(), "🗑", "<(^_^ <)", "(> ^_^)>", "⠀ ", "\n"
h = [(u[0], u[1], u[2]), (u[0], u[1], ""), (u[0], "", "")]
for something in reversed(
Expand Down

0 comments on commit 0aa4997

Please sign in to comment.