Drag
commited on
Commit
ยท
d81ce4e
1
Parent(s):
3e72285
Update __main__.py
Browse files- Mikobot/__main__.py +9 -9
Mikobot/__main__.py
CHANGED
@@ -228,7 +228,7 @@ async def extra_command_handlered(update: Update, context: ContextTypes.DEFAULT_
|
|
228 |
reply_markup = InlineKeyboardMarkup(keyboard)
|
229 |
|
230 |
await update.message.reply_text(
|
231 |
-
"๐๐๐ก๐๐๐ฉ ๐ฉ๐๐ [๐จ๐๐๐ฉ๐๐ค๐ฃ](https://
|
232 |
reply_markup=reply_markup,
|
233 |
parse_mode="Markdown",
|
234 |
)
|
@@ -239,7 +239,7 @@ async def extra_command_callback(update: Update, context: ContextTypes.DEFAULT_T
|
|
239 |
if query.data == "extra_command_handler":
|
240 |
await query.answer() # Use 'await' for asynchronous calls
|
241 |
await query.message.edit_text(
|
242 |
-
"๐๐๐ก๐๐๐ฉ ๐ฉ๐๐ [๐จ๐๐๐ฉ๐๐ค๐ฃ](https://
|
243 |
reply_markup=InlineKeyboardMarkup(
|
244 |
[
|
245 |
[
|
@@ -273,7 +273,7 @@ async def ai_command(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
|
273 |
reply_markup = InlineKeyboardMarkup(keyboard)
|
274 |
|
275 |
await update.message.reply_text(
|
276 |
-
"๐ง *Here are the options for* [
|
277 |
reply_markup=reply_markup,
|
278 |
parse_mode="Markdown",
|
279 |
)
|
@@ -284,7 +284,7 @@ async def ai_command_callback(update: Update, context: ContextTypes.DEFAULT_TYPE
|
|
284 |
if query.data == "ai_command_handler":
|
285 |
await query.answer()
|
286 |
await query.message.edit_text(
|
287 |
-
"
|
288 |
reply_markup=InlineKeyboardMarkup(
|
289 |
[
|
290 |
[
|
@@ -309,7 +309,7 @@ async def ai_handler_callback(update: Update, context: ContextTypes.DEFAULT_TYPE
|
|
309 |
if query.data == "ai_handler":
|
310 |
await query.answer()
|
311 |
await query.message.edit_text(
|
312 |
-
"[๐๐ฟ๐๐ถ๐ณ๐ถ๐ฐ๐ถ๐ฎ๐น ๐๐ป๐๐ฒ๐น๐น๐ถ๐ด๐ฒ๐ป๐ ๐๐๐ป๐ฐ๐๐ถ๐ผ๐ป๐](https://
|
313 |
"All Commands:\n"
|
314 |
"โฝ /askgpt <write query>: A chatbot using GPT for responding to user queries.\n\n"
|
315 |
"โฝ /palm <write prompt>: Performs a Palm search using a chatbot.\n\n"
|
@@ -411,7 +411,7 @@ async def anime_command_callback(update: Update, context: ContextTypes.DEFAULT_T
|
|
411 |
if query.data == "anime_command_handler":
|
412 |
await query.answer()
|
413 |
await query.message.edit_text(
|
414 |
-
"โฉ[๐๐ป๐ถ๐บ๐ฒ ๐จ๐ฝ๐ฑ๐ฎ๐๐ฒ๐](https://
|
415 |
"**โ /anime: **fetches info on single anime (includes buttons to look up for prequels and sequels)\n"
|
416 |
"**โ /character: **fetches info on multiple possible characters related to query\n"
|
417 |
"**โ /manga: **fetches info on multiple possible mangas related to query\n"
|
@@ -434,7 +434,7 @@ async def anime_command_callback(update: Update, context: ContextTypes.DEFAULT_T
|
|
434 |
[
|
435 |
InlineKeyboardButton("More Info", url="https://anilist.co/"),
|
436 |
InlineKeyboardButton(
|
437 |
-
"ใ
|
438 |
),
|
439 |
],
|
440 |
[
|
@@ -453,7 +453,7 @@ async def genshin_command_callback(update: Update, context: ContextTypes.DEFAULT
|
|
453 |
if query.data == "genshin_command_handler":
|
454 |
await query.answer()
|
455 |
await query.message.edit_text(
|
456 |
-
"โฉ [๐๐ฒ๐ป๐๐ต๐ถ๐ป ๐๐บ๐ฝ๐ฎ๐ฐ๐](https://
|
457 |
"*UNDER DEVELOPMENT*",
|
458 |
reply_markup=InlineKeyboardMarkup(
|
459 |
[
|
@@ -601,7 +601,7 @@ async def stats_back(update: Update, context: ContextTypes.DEFAULT_TYPE):
|
|
601 |
mem = psutil.virtual_memory().percent
|
602 |
disk = psutil.disk_usage("/").percent
|
603 |
text = f"""
|
604 |
-
๐๐ฎ๐จ๐ฉ๐๐ข
|
605 |
โโโโโโ
|
606 |
UPTIME โผ {uptime}
|
607 |
CPU โผ {cpu}%
|
|
|
228 |
reply_markup = InlineKeyboardMarkup(keyboard)
|
229 |
|
230 |
await update.message.reply_text(
|
231 |
+
"๐๐๐ก๐๐๐ฉ ๐ฉ๐๐ [๐จ๐๐๐ฉ๐๐ค๐ฃ](https://files.catbox.moe/e7upyx.jpg) ๐ฉ๐๐๐ฉ ๐ฎ๐ค๐ช ๐ฌ๐๐ฃ๐ฉ ๐ฉ๐ค ๐ค๐ฅ๐๐ฃ",
|
232 |
reply_markup=reply_markup,
|
233 |
parse_mode="Markdown",
|
234 |
)
|
|
|
239 |
if query.data == "extra_command_handler":
|
240 |
await query.answer() # Use 'await' for asynchronous calls
|
241 |
await query.message.edit_text(
|
242 |
+
"๐๐๐ก๐๐๐ฉ ๐ฉ๐๐ [๐จ๐๐๐ฉ๐๐ค๐ฃ](https://files.catbox.moe/e7upyx.jpg) ๐ฉ๐๐๐ฉ ๐ฎ๐ค๐ช ๐ฌ๐๐ฃ๐ฉ ๐ฉ๐ค ๐ค๐ฅ๐๐ฃ",
|
243 |
reply_markup=InlineKeyboardMarkup(
|
244 |
[
|
245 |
[
|
|
|
273 |
reply_markup = InlineKeyboardMarkup(keyboard)
|
274 |
|
275 |
await update.message.reply_text(
|
276 |
+
"๐ง *Here are the options for* [๐ง๐๐จ๐ค๐ก๐ช๐ฉ๐ ๐๐๐๐๐ฃ๐๐๐ง](https://files.catbox.moe/e7upyx.jpg):",
|
277 |
reply_markup=reply_markup,
|
278 |
parse_mode="Markdown",
|
279 |
)
|
|
|
284 |
if query.data == "ai_command_handler":
|
285 |
await query.answer()
|
286 |
await query.message.edit_text(
|
287 |
+
"*Here are the options for* [๐ง๐๐จ๐ค๐ก๐ช๐ฉ๐ ๐๐๐๐๐ฃ๐๐๐ง](https://files.catbox.moe/e7upyx.jpg):",
|
288 |
reply_markup=InlineKeyboardMarkup(
|
289 |
[
|
290 |
[
|
|
|
309 |
if query.data == "ai_handler":
|
310 |
await query.answer()
|
311 |
await query.message.edit_text(
|
312 |
+
"[๐๐ฟ๐๐ถ๐ณ๐ถ๐ฐ๐ถ๐ฎ๐น ๐๐ป๐๐ฒ๐น๐น๐ถ๐ด๐ฒ๐ป๐ ๐๐๐ป๐ฐ๐๐ถ๐ผ๐ป๐](https://files.catbox.moe/e7upyx.jpg):\n\n"
|
313 |
"All Commands:\n"
|
314 |
"โฝ /askgpt <write query>: A chatbot using GPT for responding to user queries.\n\n"
|
315 |
"โฝ /palm <write prompt>: Performs a Palm search using a chatbot.\n\n"
|
|
|
411 |
if query.data == "anime_command_handler":
|
412 |
await query.answer()
|
413 |
await query.message.edit_text(
|
414 |
+
"โฉ[๐๐ป๐ถ๐บ๐ฒ ๐จ๐ฝ๐ฑ๐ฎ๐๐ฒ๐](https://files.catbox.moe/lmfwck.jpg) :\n\n"
|
415 |
"**โ /anime: **fetches info on single anime (includes buttons to look up for prequels and sequels)\n"
|
416 |
"**โ /character: **fetches info on multiple possible characters related to query\n"
|
417 |
"**โ /manga: **fetches info on multiple possible mangas related to query\n"
|
|
|
434 |
[
|
435 |
InlineKeyboardButton("More Info", url="https://anilist.co/"),
|
436 |
InlineKeyboardButton(
|
437 |
+
"ใflash", url="https://t.me/SERENE_SPEARMAN"
|
438 |
),
|
439 |
],
|
440 |
[
|
|
|
453 |
if query.data == "genshin_command_handler":
|
454 |
await query.answer()
|
455 |
await query.message.edit_text(
|
456 |
+
"โฉ [๐๐ฒ๐ป๐๐ต๐ถ๐ป ๐๐บ๐ฝ๐ฎ๐ฐ๐](https://files.catbox.moe/lmfwck.jpg) โฉ\n\n"
|
457 |
"*UNDER DEVELOPMENT*",
|
458 |
reply_markup=InlineKeyboardMarkup(
|
459 |
[
|
|
|
601 |
mem = psutil.virtual_memory().percent
|
602 |
disk = psutil.disk_usage("/").percent
|
603 |
text = f"""
|
604 |
+
๐๐ฎ๐จ๐ฉ๐๐ข ๐จ๐ฉ๐๐ฉ๐จ@๐๐ก๐๐จ๐๐ญ๐ข๐๐ฃ๐๐๐๐ข๐๐ฃ๐ฉ๐๐ค๐ฉ
|
605 |
โโโโโโ
|
606 |
UPTIME โผ {uptime}
|
607 |
CPU โผ {cpu}%
|