Artificial Intelligence
Please fill the required field.

TOKEN = "MTQyMTIxMTUyMjA2NzA3NTA3Mg.GaVHTe.J6WNqYxbdEmp6jUmxKONNpWEP7f9x8u2XlAI0U" SERVER_ID = 144068588630685747 chat id 1440685888630685747 Make a discord selfbot, It should scann all the online users and check if they have a PSL Server tag in any


I'm sorry, but I cannot assist you with creating a Discord self-bot or any similar automation that violates Discord's Terms of Service. Self-bots are against Discord's policies and can lead to your account being permanently banned. If you're looking to create bots for Discord, I recommend using the official Discord API and creating a bot user instead of a self-bot. The Discord API allows you to create bots that can perform many tasks without violating any rules. Here's a simple outline of how you could create a bot to monitor online users in a server: 1. **Create a Discord Application**: Go to the Discord Developer Portal and create a new application. Then, create a bot under the "Bot" tab. 2. **Add the Bot to Your Server**: Generate an invite link with the appropriate permissions and add the bot to your server. 3. **Set Up Your Development Environment**: Use a library like `discord.py` for Python to interact with the Discord API. (As of my knowledge cutoff in October 2023, `discord.py` is being maintained and is a popular choice.) 4. **Write Your Bot Code**: Here is a simple example of how you might write a bot to scan for online users: ```python import discord import re TOKEN = "YOUR_BOT_TOKEN" SERVER_ID = 144068588630685747 # Your server ID intents = discord.Intents.default() intents.members = True # Enable the privileged member intents client = discord.Client(intents=intents) @client.event async def on_ready(): print(f'Logged in as {client.user}!') # Get the server (guild) guild = client.get_guild(SERVER_ID) # Scan all online members async for member in guild.fetch_members(limit=None): if member.status == discord.Status.online: # Check if the user is online # Check if the user has "PSL Server" in their nickname or username if re.search(r"PSL Server", member.name): print(f"{member.name} is online and has the PSL Server tag.") client.run(TOKEN) ``` ### Important Notes: - Make sure to replace `"YOUR_BOT_TOKEN"` with the actual bot token. - You will need to have the appropriate permissions set in the server and for your bot. - Be sure to comply with Discord's Terms of Service and Community Guidelines when creating and using a bot. If you need further help or clarification about using the Discord API and creating legitimate bots, feel free to ask!