Infiloo6288

main.py

Jan 21st, 2026
57
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 6.01 KB | Source Code | 0 0
  1. import discord
  2. from discord.ext import commands
  3. import aiohttp
  4. import asyncio
  5.  
  6. # Only Edit this! ---
  7. TOKEN = "BOT_TOKEN"  # Bot Token here!
  8. OWNER_ID = YOUR_ID_HERE  # Enter your Discord user Id here!
  9. # Only Edit this! ---
  10.  
  11. intents = discord.Intents.default()
  12. intents.message_content = True
  13. intents.voice_states = True
  14.  
  15. bot = commands.Bot(command_prefix='!', intents=intents)
  16.  
  17. STREAM_URL = "https://stream.laut.fm/infiloocast"
  18. BOT_CHANNEL: discord.VoiceChannel | None = None
  19. CURRENT_SONG = "InfilooCast 24/7"
  20. IS_LIVE = False
  21.  
  22. async def update_song_title():
  23.     """Fetches current song from Laut.fm API"""
  24.     global CURRENT_SONG
  25.     try:
  26.         async with aiohttp.ClientSession() as session:
  27.             async with session.get("https://api.laut.fm/station/infiloocast/current_song") as resp:
  28.                 if resp.status == 200:
  29.                     data = await resp.json()
  30.                     artist = data["artist"]["name"]
  31.                     title = data["title"]
  32.                     CURRENT_SONG = f"{artist} - {title}"[:50]
  33.                 else:
  34.                     CURRENT_SONG = "InfilooCast Live"
  35.     except:
  36.         CURRENT_SONG = "InfilooCast 24/7"
  37.  
  38. async def update_presence_loop():
  39.     """Updates RPC every 25s with new song"""
  40.     while True:
  41.         await update_song_title()
  42.         if IS_LIVE:
  43.             await bot.change_presence(
  44.                 activity=discord.Streaming(
  45.                     name="🔴 Infiloo is now Live |",
  46.                     url="https://www.guns.lol/infiloo",
  47.                     details=CURRENT_SONG
  48.                 )
  49.             )
  50.         else:
  51.             await bot.change_presence(
  52.                 activity=discord.Streaming(
  53.                     name="InfilooCast 24/7 đŸŽĩ",
  54.                     url="https://www.twitch.tv/discord",
  55.                     details=CURRENT_SONG
  56.                 )
  57.             )
  58.         await asyncio.sleep(25)
  59.  
  60. async def ensure_bot_connected_and_playing(channel: discord.VoiceChannel):
  61.     """Joins channel and starts stream"""
  62.     vc = channel.guild.voice_client
  63.     if vc:
  64.         if vc.channel != channel:
  65.             await vc.move_to(channel)
  66.     else:
  67.         vc = await channel.connect()
  68.  
  69.     if not vc.is_playing():
  70.         vc.play(discord.FFmpegPCMAudio(STREAM_URL, executable='ffmpeg'))
  71.  
  72. @bot.event
  73. async def on_ready():
  74.     print(f'{bot.user} online! đŸŽĩ Auto-Join + Live RPC!')
  75.    
  76.     # Load first song + start RPC
  77.     await update_song_title()
  78.     await bot.change_presence(
  79.         activity=discord.Streaming(
  80.             name="InfilooCast 24/7 đŸŽĩ",
  81.             url="https://www.twitch.tv/discord",
  82.             details=CURRENT_SONG
  83.         )
  84.     )
  85.     bot.loop.create_task(update_presence_loop())
  86.    
  87.     # Bot deafen
  88.     for guild in bot.guilds:
  89.         bot_role = guild.get_member(bot.user.id).top_role
  90.         try:
  91.             await bot_role.edit(deafen=True)
  92.         except:
  93.             pass
  94.  
  95. @bot.command()
  96. async def join(ctx):
  97.     global BOT_CHANNEL
  98.    
  99.     if ctx.author.id != OWNER_ID:
  100.         await ctx.send("❌ **Only the Bot-Owner has the permission to use !join**")
  101.         return
  102.    
  103.     if not ctx.author.voice or not ctx.author.voice.channel:
  104.         await ctx.send("❌ **You have to be in a Voice channel!**")
  105.         return
  106.    
  107.     BOT_CHANNEL = ctx.author.voice.channel
  108.    
  109.     if len(BOT_CHANNEL.members) > 0:
  110.         await ensure_bot_connected_and_playing(BOT_CHANNEL)
  111.         await ctx.send(f"đŸŽĩ **InfilooCast is running in {BOT_CHANNEL.mention}!**")
  112.     else:
  113.         await ctx.send(f"✅ **Channel set: {BOT_CHANNEL.mention}**\n"
  114.                       f"**Bot automatically joins if someone else joins!**")
  115.  
  116. @bot.command()
  117. async def stop(ctx):
  118.     global BOT_CHANNEL
  119.    
  120.     if ctx.author.id != OWNER_ID:
  121.         await ctx.send("❌ **Only the Bot-Owner can use !stop**")
  122.         return
  123.    
  124.     BOT_CHANNEL = None
  125.    
  126.     if ctx.voice_client:
  127.         await ctx.voice_client.disconnect()
  128.    
  129.     await ctx.send("âšī¸ **Auto-Join stopped. Bot disconnected.**")
  130.  
  131. @bot.command()
  132. async def status(ctx):
  133.     if ctx.author.id != OWNER_ID:
  134.         return
  135.     status = "✅ **ACTIVE**" if BOT_CHANNEL else "❌ **STOPPED**"
  136.     channel_info = BOT_CHANNEL.mention if BOT_CHANNEL else "No Channel"
  137.     live_status = "🔴 **LIVE**" if IS_LIVE else "đŸŸŖ **24/7**"
  138.     await ctx.send(f"**Bot-Status:** {status}\n**Goal:** {channel_info}\n**Mode:** {live_status}\n**Song:** {CURRENT_SONG}")
  139.  
  140. @bot.command()
  141. async def live(ctx):
  142.     global IS_LIVE
  143.     if ctx.author.id != OWNER_ID:
  144.         await ctx.send("❌ **Only the Bot-Owner can use !live**")
  145.         return
  146.     IS_LIVE = True
  147.     await update_song_title()
  148.     await bot.change_presence(
  149.         activity=discord.Streaming(
  150.             name="🔴 Infiloo is now Live |",
  151.             url="https://www.guns.lol/infiloo",
  152.             details=CURRENT_SONG
  153.         )
  154.     )
  155.     await ctx.send("🔴 **RPC switched to LIVE mode!**")
  156.  
  157. @bot.command()
  158. async def offline(ctx):
  159.     global IS_LIVE
  160.     if ctx.author.id != OWNER_ID:
  161.         await ctx.send("❌ **Only the Bot-Owner can use !offline**")
  162.         return
  163.     IS_LIVE = False
  164.     await bot.change_presence(
  165.         activity=discord.Streaming(
  166.             name="InfilooCast 24/7 đŸŽĩ",
  167.             url="https://www.twitch.tv/discord",
  168.             details=CURRENT_SONG
  169.         )
  170.     )
  171.     await ctx.send("đŸŸŖ **RPC switched back to 24/7 mode!**")
  172.  
  173. @bot.event
  174. async def on_voice_state_update(member, before, after):
  175.     global BOT_CHANNEL
  176.    
  177.     if BOT_CHANNEL is None:
  178.         return
  179.    
  180.     vc = member.guild.voice_client
  181.    
  182.     # Someone joins the BOT_CHANNEL → Bot join
  183.     if after.channel == BOT_CHANNEL and member.id != bot.user.id:
  184.         await ensure_bot_connected_and_playing(BOT_CHANNEL)
  185.    
  186.     # Check if Bot is now alone → disconnect
  187.     if vc and vc.channel == BOT_CHANNEL:
  188.         humans = [m for m in BOT_CHANNEL.members if not m.bot]
  189.         if len(humans) == 0:
  190.             await vc.disconnect()
  191.  
  192. bot.run(TOKEN)
Advertisement
Comments
  • Nortelon
    197 days
    # CSS 0.83 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1S1iTruSLkgEPO8QtTuo2twS4f2FoJ3_l0-p4GKqeAUY/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8.  
    9. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    10.  
    11. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification).
Add Comment
Please, Sign In to add comment