Skip to content

Commit

Permalink
Update raid.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRizoel committed Feb 6, 2022
1 parent ff07419 commit 7434c0e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions RiZoeLXSpam/plugins/raid.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@Riz9.on(events.NewMessage(incoming=True, pattern=r"\%sraid(?: |$)(.*)" % hl))
@Riz10.on(events.NewMessage(incoming=True, pattern=r"\%sraid(?: |$)(.*)" % hl))
async def spam(e):
usage = "๐— ๐—ผ๐—ฑ๐˜‚๐—น๐—ฒ ๐—ก๐—ฎ๐—บ๐—ฒ = ๐—ฅ๐—ฎ๐—ถ๐—ฑ\n\nCommand:\n\n.raid <count> <Username of User>\n\n.raid <count> <reply to a User>\n\nCount must be a integer."
usage = f"๐— ๐—ผ๐—ฑ๐˜‚๐—น๐—ฒ ๐—ก๐—ฎ๐—บ๐—ฒ = ๐—ฅ๐—ฎ๐—ถ๐—ฑ\n\nCommand:\n\n{hl}raid <count> <Username of User>\n\n{hl}raid <count> <reply to a User>\n\nCount must be a integer."
if e.sender_id in SUDO_USERS:
if e.text[0].isalpha() and e.text[0] in ("/", "#", "@", "!"):
return await e.reply(usage, parse_mode=None, link_preview=None )
Expand Down Expand Up @@ -119,7 +119,7 @@ async def _(event):
@Riz10.on(events.NewMessage(incoming=True, pattern=r"\%sreplyraid(?: |$)(.*)" % hl))
async def _(e):
global que
usage = f"๐— ๐—ผ๐—ฑ๐˜‚๐—น๐—ฒ ๐—ก๐—ฎ๐—บ๐—ฒ = ๐—ฅ๐—ฒ๐—ฝ๐—น๐˜†๐—ฅ๐—ฎ๐—ถ๐—ฑ\n\nCommand:\n\n.replyraid <Username of User>\n\n.replyraid <reply to a User>."
usage = f"๐— ๐—ผ๐—ฑ๐˜‚๐—น๐—ฒ ๐—ก๐—ฎ๐—บ๐—ฒ = ๐—ฅ๐—ฒ๐—ฝ๐—น๐˜†๐—ฅ๐—ฎ๐—ถ๐—ฑ\n\nCommand:\n\n{hl}replyraid <Username of User>\n\n{hl}replyraid <reply to a User>."
if e.sender_id in SUDO_USERS:
RiZoeL = ("".join(e.text.split(maxsplit=1)[1:])).split(" ", 1)
Rizx = await e.get_reply_message()
Expand Down Expand Up @@ -180,7 +180,7 @@ async def _(e):
@Riz9.on(events.NewMessage(incoming=True, pattern=r"\%sdreplyraid(?: |$)(.*)" % hl))
@Riz10.on(events.NewMessage(incoming=True, pattern=r"\%sdreplyraid(?: |$)(.*)" % hl))
async def _(e):
usage = "๐— ๐—ผ๐—ฑ๐˜‚๐—น๐—ฒ ๐—ก๐—ฎ๐—บ๐—ฒ = ๐——๐—ฒ๐—ฎ๐—ฐ๐˜๐—ถ๐˜ƒ๐—ฎ๐˜๐—ฒ ๐—ฅ๐—ฒ๐—ฝ๐—น๐˜†๐—ฅ๐—ฎ๐—ถ๐—ฑ\n\nCommand:\n\n.dreplyraid <Username of User>\n\n.dreplyraid <reply to a User>"
usage = f"๐— ๐—ผ๐—ฑ๐˜‚๐—น๐—ฒ ๐—ก๐—ฎ๐—บ๐—ฒ = ๐——๐—ฒ๐—ฎ๐—ฐ๐˜๐—ถ๐˜ƒ๐—ฎ๐˜๐—ฒ ๐—ฅ๐—ฒ๐—ฝ๐—น๐˜†๐—ฅ๐—ฎ๐—ถ๐—ฑ\n\nCommand:\n\n{hl}dreplyraid <Username of User>\n\n{hl}dreplyraid <reply to a User>"
global que
if e.sender_id in SUDO_USERS:
if e.text[0].isalpha() and e.text[0] in ("/", "#", "@", "!"):
Expand Down Expand Up @@ -223,7 +223,7 @@ async def _(e):
@Riz9.on(events.NewMessage(incoming=True, pattern=r"\%sdelayraid(?: |$)(.*)" % hl))
@Riz10.on(events.NewMessage(incoming=True, pattern=r"\%sdelayraid(?: |$)(.*)" % hl))
async def _(event):
usage = "๐— ๐—ผ๐—ฑ๐˜‚๐—น๐—ฒ ๐—ก๐—ฎ๐—บ๐—ฒ = ๐——๐—˜๐—Ÿ๐—”๐—ฌ๐—ฅ๐—”๐—œ๐——\n\nCommand:\n\n.delayraid <delay> <count> <Username of User>\n\n.delayraid <delay> <count> <reply to a User>\n\nCount and Sleeptime must be a integer."
usage = f"๐— ๐—ผ๐—ฑ๐˜‚๐—น๐—ฒ ๐—ก๐—ฎ๐—บ๐—ฒ = ๐——๐—˜๐—Ÿ๐—”๐—ฌ๐—ฅ๐—”๐—œ๐——\n\nCommand:\n\n{hl}delayraid <delay> <count> <Username of User>\n\n{hl}delayraid <delay> <count> <reply to a User>\n\nCount and Sleeptime must be a integer."
if event.sender_id in SUDO_USERS:
if event.text[0].isalpha() and e.text[0] in ("/", "#", "@", "!"):
return await e.reply(usage, parse_mode=None, link_preview=None )
Expand Down

0 comments on commit 7434c0e

Please sign in to comment.