Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsAttitudeking authored Dec 29, 2021
1 parent 2cc58dc commit d14db95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def cancel(event):
#start
@client.on(events.NewMessage(pattern="^/start$"))
async def start(event):
await event.reply("Hey [🤗](https://te.legra.ph/file/8d6307fcac08120cb9380.jpg) Welcome🔥🥂\n━━━━━━━━━━━━━━━━━━━━\n┏━━━━━━━━━━━━━━━━━┓\n┣★I m Highly advanced Tag Member Bot.\n┣★I can tag members in group as well as in Channel.\n┣★Need Help hit ☛ [★𝐎𝐀𝐍★](Https://t.me/OAN_Support)\n┗━━━━━━━━━━━━━━━━━┛\n━━━━━━━━━━━━━━━━━━━━",
await event.reply("Hey [🤗](https://telegra.ph/file/97da0b711a6ba2f4f4482.jpg)\nWelcome🔥🥂\n━━━━━━━━━━━━━━━━━━━━\n┏━━━━━━━━━━━━━━━━━┓\n┣★I m Highly advanced Tag Member Bot.\n┣★I can tag members in group as well as in Channel.\n┣★Need Help hit ☛ [★𝐎𝐀𝐍★](Https://t.me/OAN_Support)\n┗━━━━━━━━━━━━━━━━━┛\n━━━━━━━━━━━━━━━━━━━━",
buttons=(
[Button.url('🔥ᴀᴅᴅ ᴛᴀɢ ᴍᴇᴍʙᴇʀ ᴛᴏ ɢʀᴏᴜᴩ🔥', 'http://t.me/Tag_member_bot?startgroup=true')],
[Button.url('⚜ᴏᴡɴᴇʀ⚜', 'Https://t.me/ItsAttitudeking')],
Expand Down Expand Up @@ -70,7 +70,7 @@ async def mentionall(event):
async for admin in client.iter_participants(event.chat_id, filter=ChannelParticipantsAdmins):
admins.append(admin.id)
if not event.sender_id in admins:
return await event.reply("Only Admin can use it😌.")
return await event.reply("Only Admin can use it [😌](https://telegra.ph/file/97da0b711a6ba2f4f4482.jpg).")

if event.pattern_match.group(1):
mode = "text_on_cmd"
Expand All @@ -93,7 +93,7 @@ async def mentionall(event):
usrnum += 1
usrtxt += f"[{usr.first_name}](tg://user?id={usr.id}) "
if event.chat_id not in moment_worker:
await event.respond("Stopped!")
await event.respond("Ok tagger stopped [🔇](https://telegra.ph/file/97da0b711a6ba2f4f4482.jpg)")
return
if usrnum == 10:
await client.send_message(event.chat_id, f"{usrtxt}\n\n{msg}")
Expand All @@ -111,7 +111,7 @@ async def mentionall(event):
usrnum += 1
usrtxt += f"[{usr.first_name}](tg://user?id={usr.id}) "
if event.chat_id not in moment_worker:
await event.reply("Ok tagger stopped🔇")
await event.reply("Ok tagger stopped [🔇](https://telegra.ph/file/97da0b711a6ba2f4f4482.jpg)")
return
if usrnum == 10:
await client.send_message(event.chat_id, usrtxt, reply_to=msg)
Expand Down

0 comments on commit d14db95

Please sign in to comment.