Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
Update snips.py
Browse files Browse the repository at this point in the history
  • Loading branch information
code-rgb authored Oct 23, 2020
1 parent 0a53061 commit 5172eb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userge/plugins/utils/snips.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async def _list_all_snips_(message: Message) -> None:
all_snips += "• <code>${}</code> {}\n".format(
data["snip_name"], CHANNEL.get_link(data["snip_msg_id"])
)
await message.edit(all_snips, del_in=20)
await message.edit(all_snips, del_in=50)


@userge.on_cmd(
Expand All @@ -37,7 +37,7 @@ async def _list_all_snips_(message: Message) -> None:
name="get_snip",
trigger="",
filter_me=True,
check_client=True,
#check_client=True,
allow_channels=False,
)
async def get_snip(message: Message) -> None:
Expand Down

1 comment on commit 5172eb2

@vercel
Copy link

@vercel vercel bot commented on 5172eb2 Oct 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.