millswelbeck148/SireimadeBotPublic · Bot Template

AISireImade appears to be a Telegram automation bot. Commands include /start, /about, /support, /id, /admin, /ban, /unban, /x. Observed in code: messaging, keyboards, games.

Utilityutility
ProfileTelegram
112 commands3 envUpdated 2h agoCreated Aug 27, 2026
Back to folder

commands/_admin.js

javascript · 30 lines

Raw
1/**#command2name: /admin3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12// ===============================13// ADMIN-ONLY BAN COMMAND14// ===============================15 16if (!request.reply_to_message) {17  Bot.sendMessage("⚠️ Reply to the user's message with /ban");18  return;19}20 21var chatId = request.chat.id;22var adminId = request.from.id;23var targetId = request.reply_to_message.from.id;24 25// Check command user's admin status26Api.getChatMember({27  chat_id: chatId,28  user_id: adminId,29  on_result: "/ban_check_admin"30});