Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
006b88b
Update __main__.py
Madushankabro Jul 27, 2021
4f35d6f
Update AmeliaSpecial.py
Madushankabro Jul 27, 2021
c35f744
Update VoiceChatbot.py
Madushankabro Jul 27, 2021
d2fa593
Update logomaker.py
Madushankabro Jul 27, 2021
77ffe0c
Update AmeliaSpecial.py
Madushankabro Jul 27, 2021
cecde20
Update __main__.py
Madushankabro Jul 27, 2021
8ea91b2
Update app.json
Madushankabro Jul 27, 2021
9a110b0
Update README.md
Madushankabro Jul 27, 2021
b2159ef
Update cricketscore.py
Madushankabro Jul 27, 2021
62ae3f1
Update __aimultilanguage.py
Madushankabro Jul 27, 2021
25f99b6
Update __forcesubs.py
Madushankabro Jul 27, 2021
cc1b0c7
Update __texttospeech.py
Madushankabro Jul 27, 2021
1725660
Update __aimultilanguage.py
Madushankabro Jul 27, 2021
f0e1272
Update __main__.py
Madushankabro Jul 27, 2021
e98cd7d
Update __main__.py
Madushankabro Jul 27, 2021
fa2251a
Update __main__.py
Madushankabro Jul 27, 2021
f43e67e
Update __main__.py
Madushankabro Jul 27, 2021
84c29df
Update admin.py
Madushankabro Jul 27, 2021
f6ad3ee
Update afk.py
Madushankabro Jul 27, 2021
ceed063
Update anime.py
Madushankabro Jul 27, 2021
85d94d3
Update admin.py
Madushankabro Jul 27, 2021
04be11f
Update afk.py
Madushankabro Jul 27, 2021
d6e1be3
Update anime.py
Madushankabro Jul 27, 2021
f67f7ef
Update AmeliaSpecial.py
Madushankabro Jul 27, 2021
64c27a3
Update __main__.py
Madushankabro Jul 27, 2021
15a5482
Update __main__.py
Madushankabro Jul 27, 2021
1655df2
Update __main__.py
Madushankabro Aug 1, 2021
f8f576f
Update __main__.py
Madushankabro Aug 1, 2021
a8fd007
Update __main__.py
Madushankabro Aug 5, 2021
d56ed62
Update ping.py
Madushankabro Aug 8, 2021
ab00958
Update truth_and_dare_string.py
Madushankabro Aug 8, 2021
73710bb
Update __main__.py
Madushankabro Aug 8, 2021
98acb84
Update README.md
Madushankabro Aug 8, 2021
f50902e
Update __main__.py
Madushankabro Aug 11, 2021
93057ab
Update __main__.py
Madushankabro Sep 1, 2021
9297d86
Update __main__.py
Madushankabro Sep 1, 2021
db3fddc
Update __main__.py
Madushankabro Sep 1, 2021
1945758
Update __main__.py
Madushankabro Sep 1, 2021
59ae675
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
0463d2f
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
20e1ff9
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
12eef17
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
d8bc367
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
2e4e2b5
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
ae2f715
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
0c2d6e1
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
6e803f4
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
b9c1928
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
f040d27
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
93b863a
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
5bc5e72
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
79869a6
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 1, 2021
5c1987c
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
86117fb
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
ab4ccf5
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
593ce40
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
91a95ba
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
e840cc0
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
6444d96
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
db7f008
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
b745aa9
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
f65027c
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
fc0cad9
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
559f464
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
0619217
Update fun.py
Madushankabro Sep 2, 2021
d6136c2
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
6e2ab97
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
52a2b28
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
13ce880
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
e42b7bb
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
6dfa09e
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
dffe658
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
ed84eb7
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 2, 2021
b5f9304
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 3, 2021
479cd9f
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 3, 2021
06cddd6
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 3, 2021
07ea0bb
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 3, 2021
2c8cea9
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 3, 2021
b9e4ea6
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 3, 2021
e74d581
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 4, 2021
f44a8aa
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 4, 2021
52061ff
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 9, 2021
2cbcfd3
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 9, 2021
65c827e
Λ L I S S Λ 🧚‍♀️
Madushankabro Sep 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 36 additions & 23 deletions AmeliaRobot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,32 +74,45 @@ def get_readable_time(seconds: int) -> str:


PM_START_TEXT = """
ʜᴇʟʟᴏ [🤗](https://telegra.ph/file/329647a798cccb101aecf.jpg), ɪᴍ Amelia ᴀ ʜɪɢʜʏ ᴀᴅᴠᴀɴᴄᴇᴅ ʙᴏᴛ ᴡɪᴛʜ ʟᴏᴛꜱ ᴏꜰ ᴀᴍᴀᴢɪɴɢ ᴛᴏᴏʟꜱ.
`ɪ'ᴍ ʜᴇʀᴇ ᴛᴏ ʜᴇʟᴘ ʏᴏᴜ ᴍᴀɴᴀɢᴇ ʏᴏᴜʀ ɢʀᴏᴜᴘꜱ! ʜɪᴛ` /help
"""
Hay There! [👋](https://telegra.ph/file/4a5ffa86a80023f6365f6.jpg), My Name Is *Λ L I S S Λ* 🧚‍♀️.

I can help to manage your groups with useful features, feel free to add me to your groups!
Promote me as ADMIN to let me get in action!

⁉️ 𝐖𝐇𝐀𝐓 𝐀𝐑𝐄 𝐓𝐇𝐄 𝐂𝐎𝐌𝐌𝐀𝐍𝐃𝐒? ⁉️
Hit /help to see all the commands and how they work!
"""

buttons = [
[
InlineKeyboardButton(
text="➕️ ᴀᴅᴅ Amelia ᴛᴏ ʏᴏᴜʀ ɢʀᴏᴜᴘ ➕️", url="t.me/ameliagroup_bot?startgroup=true"),
text="🔱 ᴀᴅᴅ ᴍᴇ ᴛᴏ ʏᴏᴜʀ ɢʀᴏᴜᴘ 🔱", url="t.me/MissAlissaBot?startgroup=true"),
],
[
InlineKeyboardButton(text="ᴀʙᴏᴜᴛ", callback_data="amelia_"),
InlineKeyboardButton(text="📰 ʙᴏᴛ ɴᴇᴡs 📰", url=f"https://t.me/MissAlissaNews"),
InlineKeyboardButton(
text="ꜱᴜᴘᴘᴏʀᴛ", url=f"https://t.me/{SUPPORT_CHAT}"
text="👥 ʙᴏᴛ sᴜᴘᴘᴏʀᴛ 👥", url=f"https://t.me/MissAlissaSupport"
),
],
[
InlineKeyboardButton(text="ʜᴇʟᴘ & ᴄᴏᴍᴍᴀɴᴅꜱ❔", callback_data="help_back"),
InlineKeyboardButton(text="★ ʀᴇᴠɪᴇᴡ ᴜs ★", url=f"https://t.me/tlgrmcbot?start=missalissabot"),
InlineKeyboardButton(
text="ℹ️ ᴀʙᴏᴜᴛ ℹ️", callback_data="amelia_"),
],
[
InlineKeyboardButton(text="⁉️ ʜᴇʟᴘ & ᴄᴏᴍᴍᴀɴᴅs ⁉️", callback_data="help_back"),
],
]


HELP_STRINGS = """
`ʜɪ.. ɪ'ᴍ` Amelia [🙋‍♀️](https://telegra.ph/file/329647a798cccb101aecf.jpg)
`ᴄʟɪᴄᴋ ᴏɴ ᴛʜᴇ ʙᴜᴛᴛᴏɴꜱ ʙᴇʟᴏᴡ ᴛᴏ ɢᴇᴛ ᴅᴏᴄᴜᴍᴇɴᴛᴀᴛɪᴏɴ ᴀʙᴏᴜᴛ ꜱᴘᴇᴄɪꜰɪᴄ ᴍᴏᴅᴜʟᴇꜱ..`"""
*⚊❮❮❮『 Λ L I S S Λ HΞLP MΞИU 』❯❯❯⚊*

Hay !👋 I'm *Λ L I S S Λ* [🙋‍♀️](https://telegra.ph/file/4a5ffa86a80023f6365f6.jpg)

The following funtions will helpful to you to manage your group. 😇"""

amelia_IMG = "https://telegra.ph/file/329647a798cccb101aecf.jpg"
amelia_IMG = "https://telegra.ph/file/a7f8bb76f4d416d003bd9.jpg"

DONATE_STRING = """Heya, glad to hear you want to donate!
You can support the project via [Paypal](#) or by contacting @itsmelegend\
Expand Down Expand Up @@ -293,7 +306,7 @@ def help_button(update, context):
if mod_match:
module = mod_match.group(1)
text = (
"Here is the help for the *{}* module:\n".format(
"⚊❮❮❮ 『 HΞLP FOR *{}* MODULΞ 』❯❯❯⚊\n".format(
HELPABLE[module].__mod_name__
)
+ HELPABLE[module].__help__
Expand All @@ -303,7 +316,7 @@ def help_button(update, context):
parse_mode=ParseMode.MARKDOWN,
disable_web_page_preview=True,
reply_markup=InlineKeyboardMarkup(
[[InlineKeyboardButton(text="Back", callback_data="help_back")]]
[[InlineKeyboardButton(text="🔙ʙᴀᴄᴋ", callback_data="help_back")]]
),
)

Expand Down Expand Up @@ -349,22 +362,22 @@ def amelia_about_callback(update, context):
query = update.callback_query
if query.data == "amelia_":
query.message.edit_text(
text=""" ℹ️ I'm *amelia*, a powerful group management bot built to help you manage your group easily.
text=""" ℹ️ I'm *Λ L I S S Λ*, a powerful group management bot built to help you manage your group easily.
\n❍ I can restrict users.
\n❍ I can greet users with customizable welcome messages and even set a group's rules.
\n❍ I have an advanced anti-flood system.
\n❍ I can warn users until they reach max warns, with each predefined actions such as ban, mute, kick, etc.
\n❍ I have a note keeping system, blacklists, and even predetermined replies on certain keywords.
\n❍ I check for admins' permissions before executing any command and more stuffs
\n\n_bot licensed under the GNU General Public License v3.0_
\nHere is the [💾Repository](https://github.com/war-legend/AmeliaRobot).
\n\nIf you have any question about amelia, let us know at @warbotzchat .""",
\nHere is the [💾Repository](https://github.com/Madushankabro/MissAlissa).
\n\nIf you have any question about *Λ L I S S Λ*, let us know at @MissAlissaSupport .""",
parse_mode=ParseMode.MARKDOWN,
disable_web_page_preview=True,
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(text="Back", callback_data="amelia_back")
InlineKeyboardButton(text="🔙ʙᴀᴄᴋ", callback_data="amelia_back")
]
]
),
Expand All @@ -384,14 +397,14 @@ def Source_about_callback(update, context):
query = update.callback_query
if query.data == "source_":
query.message.edit_text(
text=""" Hi..🤗 I'm *amelia*
\nHere is the [Source Code](https://github.com/war-legend) .""",
text=""" Hi..🤗 I'm *Λ L I S S Λ*
\nHere is the [Source Code](https://github.com/Madushankabro/MissAlissa) .""",
parse_mode=ParseMode.MARKDOWN,
disable_web_page_preview=True,
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(text="Go Back", callback_data="source_back")
InlineKeyboardButton(text="🔙ʙᴀᴄᴋ", callback_data="source_back")
]
]
),
Expand Down Expand Up @@ -436,7 +449,7 @@ def get_help(update: Update, context: CallbackContext):
[
[
InlineKeyboardButton(
text="Help",
text="ʜᴇʟᴘ",
url="t.me/{}?start=help".format(context.bot.username),
)
]
Expand All @@ -448,7 +461,7 @@ def get_help(update: Update, context: CallbackContext):
elif len(args) >= 2 and any(args[1].lower() == x for x in HELPABLE):
module = args[1].lower()
text = (
"Here is the available help for the *{}* module:\n".format(
"⚊❮❮❮ 『 HΞLP FO𝚁 *{}* MODULΞ 』❯❯❯⚊\n".format(
HELPABLE[module].__mod_name__
)
+ HELPABLE[module].__help__
Expand All @@ -457,7 +470,7 @@ def get_help(update: Update, context: CallbackContext):
chat.id,
text,
InlineKeyboardMarkup(
[[InlineKeyboardButton(text="Back", callback_data="help_back")]]
[[InlineKeyboardButton(text="🔙ʙᴀᴄᴋ", callback_data="help_back")]]
),
)

Expand Down Expand Up @@ -680,7 +693,7 @@ def main():

if SUPPORT_CHAT is not None and isinstance(SUPPORT_CHAT, str):
try:
dispatcher.bot.sendMessage(f"@{SUPPORT_CHAT}", "Yes I'm alive 💃")
dispatcher.bot.sendMessage(f"@{SUPPORT_CHAT}", "ʏᴇs! ɪ'ᴍ ᴏɴʟɪɴᴇ ✅")
except Unauthorized:
LOGGER.warning(
"Bot isnt able to send message to support_chat, go and check!"
Expand Down
6 changes: 4 additions & 2 deletions AmeliaRobot/modules/AmeliaSpecial.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
• `/wallpaper`*:* sends random best anime wallpapers.


*Style your text with Amelia!*
*Style your text with Λ L I S S Λ !*
• `/weebify <text>`*:* weebify your text!
• `/bubble <text>`*:* bubble your text!
• `/fbubble <text>`*:* bubble-filled your text!
Expand All @@ -30,7 +30,9 @@
*Truth And Dare*
• `/Truth`*:* for random truth.
• `/dare`*:* for random dare.

@MissAlissaBot🇱🇰
"""


__mod_name__ = "AmeliaSpecial.py"
__mod_name__ = "AlissaSpecial🧚‍♀️"
6 changes: 3 additions & 3 deletions AmeliaRobot/modules/VoiceChatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async def Lycia(_, message):
return
text = message.text.split(None, 1)[1]
amelia = text.replace(" ", "%20")
m = await message.reply_text("Amelia Is Best...")
m = await message.reply_text("I'm the Best...")
try:
L = await fetch(f"https://api.affiliateplus.xyz/api/chatbot?message={lycia}&botname=amelia&ownername=Abhishek&user=1")
chatbot = L["message"]
Expand All @@ -41,9 +41,9 @@ async def Lycia(_, message):
except Exception as e:
await m.edit(str(e))
return
await m.edit("Made By @itsmelegend...")
await m.edit("Made By @epusthakalaya_bots..")
LyciaVoice = await ai_lycia(VoiceAi)
await m.edit("Repyping...")
await m.edit("Replyping...")
await message.reply_audio(audio=LyciaVoice, title=chatbot, performer=name)
os.remove(LyciaVoice)
await m.delete()
8 changes: 4 additions & 4 deletions AmeliaRobot/modules/__aimultilanguage.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,20 +84,20 @@ async def hmm(_, message):
lel = await edit_or_reply(message, "`Processing...`")
lol = add_chat(int(message.chat.id))
if not lol:
await lel.edit("amelia AI Already Activated In This Chat")
await lel.edit("ALISSA AI Already Activated In This Chat")
return
await lel.edit(
f"amelia AI Successfully Added For Users In The Chat {message.chat.id}"
f"ALISSA AI Successfully Added For Users In The Chat {message.chat.id}"
)

elif status == "OFF" or status == "off" or status == "Off":
lel = await edit_or_reply(message, "`Processing...`")
Escobar = remove_chat(int(message.chat.id))
if not Escobar:
await lel.edit("amelia AI Was Not Activated In This Chat")
await lel.edit("Λ L I S S Λ AI Was Not Activated In This Chat")
return
await lel.edit(
f"amelia AI Successfully Deactivated For Users In The Chat {message.chat.id}"
f"Λ L I S S Λ AI Successfully Deactivated For Users In The Chat {message.chat.id}"
)

elif status == "EN" or status == "en" or status == "english":
Expand Down
8 changes: 5 additions & 3 deletions AmeliaRobot/modules/__forcesubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _check_member(client, message):
)
except ChatAdminRequired:
sent_message.edit(
"❗ **Amelia is not admin here..**\n__Give me ban permissions and retry.. \n#Ending FSub...__"
"❗ **Λ L I S S Λ is not admin here..**\n__Give me ban permissions and retry.. \n#Ending FSub...__"
)

except ChatAdminRequired:
Expand Down Expand Up @@ -181,7 +181,7 @@ def config(client, message):

__help__ = """
*Force Subscribe:*
Amelia can mute members who are not subscribed your channel until they subscribe
Λ L I S S Λ 🧚‍♀️ can mute members who are not subscribed your channel until they subscribe
❍ When enabled I will mute unsubscribed members and show them a unmute button. When they pressed the button I will unmute them
*Setup*
*Only creator*
Expand All @@ -195,5 +195,7 @@ def config(client, message):
❍ /fsub disable - To turn of ForceSubscribe..
💡If you disable fsub, you need to set again for working.. /fsub {channel username}
❍ /fsub clear - To unmute all members who muted by me.

@MissAlissaBot🇱🇰
"""
__mod_name__ = "F-Sub"
__mod_name__ = "Force-Sub📢"
4 changes: 3 additions & 1 deletion AmeliaRobot/modules/__musicals.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__mod_name__ = "Music"
__mod_name__ = "Music🎶"

__help__ = """
/saavn <i>query</i>: download song from Saavn servers.
Expand All @@ -7,4 +7,6 @@
/song <i>query</i>: download from youtube
/lyrics <i>song name</i> : This plugin searches for song lyrics with song name.
/glyrics <i> song name </i> : This plugin searches for song lyrics with song name and artist.

@MissAlissaBot🇱🇰
"""
6 changes: 4 additions & 2 deletions AmeliaRobot/modules/__shield.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ async def del_profanity(event):
#

__help__ = """

<b> Group Guardian: </b>
✪ Yone can protect your group from NSFW senders, Slag word users and also can force members to use English

Expand All @@ -438,6 +439,7 @@ async def del_profanity(event):
- /profanity <i>on/off</i> - Enable|Disable slag word cleaning

Note: Special credits goes to Julia project and Friday Userbot


@MissAlissaBot🇱🇰
"""
__mod_name__ = "Shield"
__mod_name__ = "Shield🛡"
4 changes: 3 additions & 1 deletion AmeliaRobot/modules/__speachtotext.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ async def _(event):
ml,mn,mr,ms,mt,my,ne,nl,no,ny,pa,pl,ps,pt,ro,ru,sd,si,sk,sl,
sm,sn,so,sq,sr,st,su,sv,sw,ta,te,tg,th,tl,tr,uk,ur,uz,
vi,xh,yi,yo,zh,zh_CN,zh_TW,zu`

@MissAlissaBot🇱🇰
"""

__mod_name__ = "TTS/STT"
__mod_name__ = "TTS/STT🗣"
2 changes: 1 addition & 1 deletion AmeliaRobot/modules/__texttospeech.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def _(event):
return
if event.is_group:
if not (await is_register_admin(event.input_chat, event.message.sender_id)):
await event.reply("🚨 Need Admin Pewer.. You can't use this command.. But you can use in my pm")
await event.reply("🚨 Need Admin Power.. You can't use this command.. But you can use in my pm")
return

input_str = event.pattern_match.group(1)
Expand Down
10 changes: 4 additions & 6 deletions AmeliaRobot/modules/__tools.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
__mod_name__ = "Tools"
__mod_name__ = "Tools🛠"

__help__ = """
*Telegraph*
❍ /tgm :Get Telegraph Link Of Replied Media
❍ /tgt :Get Telegraph Link of Replied Text

*Chatbot*
_Admins only:_
❍ /addchat*:* Enables Chatbot mode in the chat.
Expand All @@ -20,5 +16,7 @@
❍ /encrypt*:* Encrypts The Given Text
❍ /decrypt*:* Decrypts Previously Ecrypted Text
❍ /zip*:* reply to a telegram file to compress it in .zip format
❍ /unzip*:* reply to a telegram file to decompress it from the .zip format
❍ /unzip*:* reply to a telegram file to decompress it from the .zip format.

@MissAlissaBot🇱🇰
"""
4 changes: 3 additions & 1 deletion AmeliaRobot/modules/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,8 @@ def adminlist(update, context):
and Automatically openned at 6 am(IST) To Prevent Night Spams.

⚠️ `Read from top`

@MissAlissaBot🇱🇰
"""

ADMINLIST_HANDLER = DisableAbleCommandHandler("admins", adminlist)
Expand Down Expand Up @@ -705,7 +707,7 @@ def adminlist(update, context):
dispatcher.add_handler(SETSTICKET_HANDLER)
dispatcher.add_handler(SETDESC_HANDLER)

__mod_name__ = "Admin"
__mod_name__ = "Admin🏅"
__command_list__ = [
"adminlist",
"admins",
Expand Down
2 changes: 1 addition & 1 deletion AmeliaRobot/modules/afk.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def check_afk(update, context, user_id, fst_name, userc_id):
dispatcher.add_handler(NO_AFK_HANDLER, AFK_GROUP)
dispatcher.add_handler(AFK_REPLY_HANDLER, AFK_REPLY_GROUP)

__mod_name__ = "AFK"
__mod_name__ = "AFK🏃‍"
__command_list__ = ["afk"]
__handlers__ = [
(AFK_HANDLER, AFK_GROUP),
Expand Down
4 changes: 3 additions & 1 deletion AmeliaRobot/modules/anime.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,8 @@ def kayo(update: Update, context: CallbackContext):
• `/kayo <anime>`*:* search an anime on animekayo.com
• `/airing <anime>`*:* returns anime airing info.
• /whatanime - reply to gif or video

@MissAlissaBot🇱🇰
"""

ANIME_HANDLER = DisableAbleCommandHandler("anime", anime)
Expand All @@ -586,7 +588,7 @@ def kayo(update: Update, context: CallbackContext):
dispatcher.add_handler(KAYO_SEARCH_HANDLER)
dispatcher.add_handler(UPCOMING_HANDLER)

__mod_name__ = "Anime"
__mod_name__ = "Anime🦸‍♀️"
__command_list__ = [
"anime", "manga", "character", "user", "upcoming", "kaizoku", "airing",
"kayo"
Expand Down
4 changes: 3 additions & 1 deletion AmeliaRobot/modules/antiflood.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,11 @@ def __chat_settings__(chat_id, user_id):
`6h` = 6 hours
`3d` = 3 days
`1w` = 1 week

@MissAlissaBot🇱🇰
"""

__mod_name__ = "Control"
__mod_name__ = "Antiflood🚫"

FLOOD_BAN_HANDLER = MessageHandler(
Filters.all & ~Filters.status_update & Filters.group, check_flood
Expand Down
4 changes: 3 additions & 1 deletion AmeliaRobot/modules/approve.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ def unapproveall_btn(update: Update, context: CallbackContext):
- `/unapprove`*:* Unapprove of a user. They will now be subject to locks, blacklists, and antiflood again.
- `/approved`*:* List all approved users.
- `/unapproveall`*:* Unapprove *ALL* users in a chat. This cannot be undone.

@MissAlissaBot🇱🇰
"""

APPROVE = DisableAbleCommandHandler("approve", approve)
Expand All @@ -221,6 +223,6 @@ def unapproveall_btn(update: Update, context: CallbackContext):
dispatcher.add_handler(UNAPPROVEALL)
dispatcher.add_handler(UNAPPROVEALL_BTN)

__mod_name__ = "Approvals"
__mod_name__ = "Approve✅"
__command_list__ = ["approve", "unapprove", "approved", "approval"]
__handlers__ = [APPROVE, DISAPPROVE, APPROVED, APPROVAL]
Loading