New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

selfcord

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

selfcord

The best Discord selfbot API wrapper.

  • 0.2.5
  • PyPI
  • Socket score

Maintainers
1

selfcord

The best Discord selfbot API wrapper. Enhances discord.py selfbots with new functions.

Edit your Discord client settings, account settings and more with code.

Example

import discord
import selfcord
from discord.ext import commands

bot = commands.Bot(command_prefix=".", self_bot=True)
selfcord.login("TOKEN")

@bot.event
async def on_ready():
    print("Selfcord Example Selfbot Online.")
    print("Use the prefix '.' to control the bot")

@bot.command(name="changetheme", usage="[light/dark]")
async def changetheme(ctx, theme):
    selfcord.User.setTheme(theme)
    selfcord.Messages.sendMessage(f"Changed your Discord client theme to `{theme}`.", ctx.channel.id)

@bot.command(name="customstatus", usage="[text]")
async def customstatus(ctx, *, text):
    selfcord.User.setCustomStatus(text)
    selfcord.Messages.sendMessage(f"Changed your Discord custom status to `{text}`.", ctx.channel.id)

bot.run("TOKEN", bot=False)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc