Skip to content

Commit

Permalink
Merge pull request #26 from TeamLionX/deepsource-fix-1eea2ef6
Browse files Browse the repository at this point in the history
Convert string with anomalous backslash into a raw string
  • Loading branch information
NoorXd786 committed Mar 14, 2022
2 parents 7318d9a + 817c806 commit 19e861d
Show file tree
Hide file tree
Showing 26 changed files with 104 additions and 104 deletions.
2 changes: 1 addition & 1 deletion userbot/plugins/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


@lionub.lion_cmd(
pattern="app ([\s\S]*)",
pattern=r"app ([\s\S]*)",
command=("app", plugin_category),
info={
"header": "To search any app in playstore",
Expand Down
8 changes: 4 additions & 4 deletions userbot/plugins/archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def zipdir(dirName):


@lionub.lion_cmd(
pattern="zip(?:\s|$)([\s\S]*)",
pattern=r"zip(?:\s|$)([\s\S]*)",
command=("zip", plugin_category),
info={
"header": "To compress the file/folders",
Expand Down Expand Up @@ -69,7 +69,7 @@ async def zip_file(event):


@lionub.lion_cmd(
pattern="tar(?:\s|$)([\s\S]*)",
pattern=r"tar(?:\s|$)([\s\S]*)",
command=("tar", plugin_category),
info={
"header": "To compress the file/folders to tar file",
Expand Down Expand Up @@ -111,7 +111,7 @@ async def tar_file(event):


@lionub.lion_cmd(
pattern="unzip(?:\s|$)([\s\S]*)",
pattern=r"unzip(?:\s|$)([\s\S]*)",
command=("unzip", plugin_category),
info={
"header": "To unpack the given zip file",
Expand Down Expand Up @@ -194,7 +194,7 @@ async def zip_file(event): # sourcery no-metrics


@lionub.lion_cmd(
pattern="untar(?:\s|$)([\s\S]*)",
pattern=r"untar(?:\s|$)([\s\S]*)",
command=("untar", plugin_category),
info={
"header": "To unpack the given tar file",
Expand Down
6 changes: 3 additions & 3 deletions userbot/plugins/art_img.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


@lionub.lion_cmd(
pattern="iascii ?([\s\S]*)",
pattern=r"iascii ?([\s\S]*)",
command=("iascii", plugin_category),
info={
"header": "Convert media to ascii art.",
Expand Down Expand Up @@ -66,7 +66,7 @@ async def bad(event):


@lionub.lion_cmd(
pattern="line ?([\s\S]*)",
pattern=r"line ?([\s\S]*)",
command=("line", plugin_category),
info={
"header": "Convert media to line image.",
Expand Down Expand Up @@ -108,7 +108,7 @@ async def pussy(event):


@lionub.lion_cmd(
pattern="clip ?([\s\S]*)",
pattern=r"clip ?([\s\S]*)",
command=("clip", plugin_category),
info={
"header": "Convert media to sticker by clippy",
Expand Down
22 changes: 11 additions & 11 deletions userbot/plugins/artsay.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


@lionub.lion_cmd(
pattern="carry ([\s\S]*)",
pattern=r"carry ([\s\S]*)",
command=("carry", plugin_category),
info={
"header": "Fun art try yourself to know more",
Expand All @@ -26,7 +26,7 @@ async def _(event):


@lionub.lion_cmd(
pattern="ded(?:\s|$)([\s\S]*)",
pattern=r"ded(?:\s|$)([\s\S]*)",
command=("ded", plugin_category),
info={
"header": "Fun art try yourself to know more",
Expand Down Expand Up @@ -58,7 +58,7 @@ async def _(event):


@lionub.lion_cmd(
pattern="killer(?:\s|$)([\s\S]*)",
pattern=r"killer(?:\s|$)([\s\S]*)",
command=("killer", plugin_category),
info={
"header": "Fun art try yourself to know more",
Expand All @@ -73,10 +73,10 @@ async def _(event):
await edit_or_reply(
event,
f"__**Commando **__{mention} \n\n"
"_/﹋\_\n"
r"_/﹋\_\n"
"(҂`_´)\n"
f"<,︻╦╤─ ҉ - - - {name}\n"
"_/﹋\_\n",
r"_/﹋\_\n",
)


Expand All @@ -97,7 +97,7 @@ async def _(event):


@lionub.lion_cmd(
pattern="sthink ([\s\S]*)",
pattern=r"sthink ([\s\S]*)",
command=("sthink", plugin_category),
info={
"header": "Fun art try yourself to know more",
Expand Down Expand Up @@ -129,7 +129,7 @@ async def kakashi(think):


@lionub.lion_cmd(
pattern="sfrog ([\s\S]*)",
pattern=r"sfrog ([\s\S]*)",
command=("sfrog", plugin_category),
info={
"header": "Fun art try yourself to know more",
Expand Down Expand Up @@ -161,7 +161,7 @@ async def kakashi(frogsay):


@lionub.lion_cmd(
pattern="sputin ([\s\S]*)",
pattern=r"sputin ([\s\S]*)",
command=("sputin", plugin_category),
info={
"header": "Fun art try yourself to know more",
Expand Down Expand Up @@ -194,7 +194,7 @@ async def kakashi(putinsay):


@lionub.lion_cmd(
pattern="sdead ([\s\S]*)",
pattern=r"sdead ([\s\S]*)",
command=("sdead", plugin_category),
info={
"header": "Fun art try yourself to know more",
Expand Down Expand Up @@ -226,7 +226,7 @@ async def kakashi(deadfrog):


@lionub.lion_cmd(
pattern="strump ([\s\S]*)",
pattern=r"strump ([\s\S]*)",
command=("strump", plugin_category),
info={
"header": "Fun art try yourself to know more",
Expand Down Expand Up @@ -258,7 +258,7 @@ async def kakashi(trumpsay):


@lionub.lion_cmd(
pattern="schina ([\s\S]*)",
pattern=r"schina ([\s\S]*)",
command=("schina", plugin_category),
info={
"header": "Fun art try yourself to know more",
Expand Down
6 changes: 3 additions & 3 deletions userbot/plugins/autoprofile.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ async def _(event):


@lionub.lion_cmd(
pattern="autopic ?([\s\S]*)",
pattern=r"autopic ?([\s\S]*)",
command=("autopic", plugin_category),
info={
"header": "Changes profile pic every 1 minute with the custom pic with time",
Expand Down Expand Up @@ -427,7 +427,7 @@ async def _(event):


@lionub.lion_cmd(
pattern="c(ustom)?pfp(?: |$)([\s\S]*)",
pattern=r"c(ustom)?pfp(?: |$)([\s\S]*)",
command=("custompfp", plugin_category),
info={
"header": "Set Your Custom pfps",
Expand Down Expand Up @@ -558,7 +558,7 @@ async def _(event):


@lionub.lion_cmd(
pattern="end ([\s\S]*)",
pattern=r"end ([\s\S]*)",
command=("end", plugin_category),
info={
"header": "To stop the functions of autoprofile",
Expand Down
72 changes: 36 additions & 36 deletions userbot/plugins/badart.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
"\n....................,/¯../ "
"\n.................../..../ "
"\n............./´¯/'...'/´¯¯`·¸ "
"\n........../'/.../..../......./¨¯\ "
r"\n........../'/.../..../......./¨¯\ "
"\n........('(...´...´.... ¯~/'...') "
"\n.........\.................'...../ "
"\n..........''...\.......... _.·´ "
"\n............\..............( "
"\n..............\.............\..."
r"\n.........\.................'...../ "
r"\n..........''...\.......... _.·´ "
r"\n............\..............( "
r"\n..............\.............\..."
)


Expand Down Expand Up @@ -108,16 +108,16 @@ async def kakashi(bsdk):
bsdk = await edit_or_reply(bsdk, "**Ohhh nooooo **💦💦...")
animation_chars = [
"**Ohhh Baby..**😈",
"__**Ohh Yeaah..**__\n\n 😈\n |\ \n | \ \n 8=👊-D\n | \ \n 👟 👟 😲",
"__**Ohh ohhh..**__\n\n 😈\n |\ \n | \ \n 8=👊-D\n | \ \n 👟 👟 😲",
"__**Ohh.. **__\n\n 😈\n |\ \n | \ \n 8=👊-D\n | \ \n 👟 👟 😲",
"__**Ohh baby..**__\n\n 😈\n |\ \n | \ \n8=👊-D💦\n | \ \n 👟 👟 😲",
"__**Yeaah..**__\n\n 😣\n |\ \n | \ \n 8=👊-D💦\n | \ \n 👟 👟 😲",
"__**Yeaah Yaaah..**__\n\n 😣\n |\ \n | \ \n 8=👊-D💦\n | \ 💦\n 👟 👟 😲",
"__**Yaah baby..**__\n\n 😘\n |\ \n | \ \n 8=👊-D💦\n | \ 💦\n 👟 👟 🤤",
"__**Ohhh..**__\n\n 😍\n |\ \n | \ \n8=👊-D💦\n | \ 💦\n 👟 👟 🤤",
"__**Love u..**__\n\n 😘\n |\ \n | \ \n 8=👊-D💦\n | \ \n 👟 👟 🤤",
"__**Love u babe**__\n\n 😍\n |\ \n | \ \n 8=👊-D\n | \ \n 👟 👟 🤤",
r"__**Ohh Yeaah..**__\n\n 😈\n |\ \n | \ \n 8=👊-D\n | \ \n 👟 👟 😲",
r"__**Ohh ohhh..**__\n\n 😈\n |\ \n | \ \n 8=👊-D\n | \ \n 👟 👟 😲",
r"__**Ohh.. **__\n\n 😈\n |\ \n | \ \n 8=👊-D\n | \ \n 👟 👟 😲",
r"__**Ohh baby..**__\n\n 😈\n |\ \n | \ \n8=👊-D💦\n | \ \n 👟 👟 😲",
r"__**Yeaah..**__\n\n 😣\n |\ \n | \ \n 8=👊-D💦\n | \ \n 👟 👟 😲",
r"__**Yeaah Yaaah..**__\n\n 😣\n |\ \n | \ \n 8=👊-D💦\n | \ 💦\n 👟 👟 😲",
r"__**Yaah baby..**__\n\n 😘\n |\ \n | \ \n 8=👊-D💦\n | \ 💦\n 👟 👟 🤤",
r"__**Ohhh..**__\n\n 😍\n |\ \n | \ \n8=👊-D💦\n | \ 💦\n 👟 👟 🤤",
r"__**Love u..**__\n\n 😘\n |\ \n | \ \n 8=👊-D💦\n | \ \n 👟 👟 🤤",
r"__**Love u babe**__\n\n 😍\n |\ \n | \ \n 8=👊-D\n | \ \n 👟 👟 🤤",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
Expand All @@ -139,18 +139,18 @@ async def kakashi(event):
event = await edit_or_reply(event, "Starting asf")
animation_chars = [
"1 ❤️ love story",
" 😐 😕 \n/👕\ <👗\ \n 👖 /|",
" 😉 😳 \n/👕\ /👗\ \n 👖 /|",
" 😚 😒 \n/👕\ <👗> \n 👖 /|",
" 😍 ☺️ \n/👕\ /👗\ \n 👖 /|",
" 😍 😍 \n/👕\ /👗\ \n 👖 /|",
" 😘 😊 \n /👕\/👗\ \n 👖 /|",
" 😳 😁 \n /|\ /👙\ \n / / |",
"😈 /😰\ \n<|\ 👙 \n /🍆 / |",
"😅 \n/(),✊😮 \n /\ _/\\/|",
r" 😐 😕 \n/👕\ <👗\ \n 👖 /|",
r" 😉 😳 \n/👕\ /👗\ \n 👖 /|",
r" 😚 😒 \n/👕\ <👗> \n 👖 /|",
r" 😍 ☺️ \n/👕\ /👗\ \n 👖 /|",
r" 😍 😍 \n/👕\ /👗\ \n 👖 /|",
r" 😘 😊 \n /👕\/👗\ \n 👖 /|",
r" 😳 😁 \n /|\ /👙\ \n / / |",
r"😈 /😰\ \n<|\ 👙 \n /🍆 / |",
r"😅 \n/(),✊😮 \n /\ _/\\/|",
"😎 \n/\\_,__😫 \n // // \\",
"😖 \n/\\_,💦_😋 \n // // \\",
" 😭 ☺️ \n /|\ /(👶)\ \n /!\ / \ ",
r" 😭 ☺️ \n /|\ /(👶)\ \n /!\ / \ ",
"The End 😂...",
]

Expand All @@ -174,19 +174,19 @@ async def kakashi(baby):
"**💪💪Ohhh Yeeah Baby**...\n\n"
"/ イ ..........(((ヽ \n"
"( ノ  ̄—--\ \n"
"| (\ (\🎩/) | ) \n"
r"| (\ (\🎩/) | ) \n"
"ヽ ヽ` ( ͡° ͜ʖ ͡°) _ノ / \n"
" \ | ⌒Y⌒ / / \n"
" |ヽ | ノ / \n"
" \トー仝ーイ \n"
" | ミ土彡/ \n"
" ) \ ° / \n"
" ( \🌿 / \n"
r" ) \ ° / \n"
r" ( \🌿 / \n"
" / /ѼΞΞΞΞΞΞΞD💨💦\n"
" / / / \ \ \ \n"
r" / / / \ \ \ \n"
" ( ( ). ) ). ) \n"
" ( ). ( | | \n"
" | / \ |\n"
r" | / \ |\n"
" 👞. 👞",
)

Expand All @@ -207,12 +207,12 @@ async def kakashi(fooku):
" /¯ /\n"
" / /\n"
" /´¯/' '/´¯¯`•¸\n"
" /'/ / / /¨¯\ \n"
r" /'/ / / /¨¯\ \n"
" ('( ( ( ( ¯~/' ')\n"
" \ /\n"
" \ _.•´\n"
" \ (\n"
" \ \n"
r" \ /\n"
r" \ _.•´\n"
r" \ (\n"
r" \ \n"
"Roses are RED\n"
"Violets are BLUE\n"
"This is my middle finger\n"
Expand Down Expand Up @@ -359,7 +359,7 @@ async def kakashi(saxy):


@lionub.lion_cmd(
pattern="sdick ([\s\S]*)",
pattern=r"sdick ([\s\S]*)",
command=("sdick", plugin_category),
info={
"header": "bad art, try yourself ",
Expand Down
4 changes: 2 additions & 2 deletions userbot/plugins/blacklistchats.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def chat_blacklist(event):


@lionub.lion_cmd(
pattern="addblkchat(s)?(?:\s|$)([\s\S]*)",
pattern=r"addblkchat(s)?(?:\s|$)([\s\S]*)",
command=("addblkchat", plugin_category),
info={
"header": "To add chats to blacklist.",
Expand Down Expand Up @@ -151,7 +151,7 @@ async def add_blacklist_chat(event):


@lionub.lion_cmd(
pattern="rmblkchat(s)?(?:\s|$)([\s\S]*)",
pattern=r"rmblkchat(s)?(?:\s|$)([\s\S]*)",
command=("rmblkchat", plugin_category),
info={
"header": "To remove chats to blacklist.",
Expand Down
4 changes: 2 additions & 2 deletions userbot/plugins/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


@lionub.lion_cmd(
pattern="cbutton(?:\s|$)([\s\S]*)",
pattern=r"cbutton(?:\s|$)([\s\S]*)",
command=("cbutton", plugin_category),
info={
"header": "To create button posts",
Expand Down Expand Up @@ -84,7 +84,7 @@ async def _(event):


@lionub.lion_cmd(
pattern="ibutton(?:\s|$)([\s\S]*)",
pattern=r"ibutton(?:\s|$)([\s\S]*)",
command=("ibutton", plugin_category),
info={
"header": "To create button posts via inline",
Expand Down
Loading

0 comments on commit 19e861d

Please sign in to comment.