Skip to main content

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)

Metadata

Release files for selfcord 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for selfcord 0.2.5
File Size Uploaded Provenance Actions
selfcord-0.2.5.tar.gz 9.2 kB Without provenance Details for selfcord-0.2.5.tar.gz

Release files / selfcord-0.2.5.tar.gz

Download URL selfcord-0.2.5.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4aaabb9ab12a4836c3125f543b104fc81d7247e187e404f029c7df9957a6e44b
BLAKE2b-256 checksum
How to use checksums
736c6510bd8948ab8f429c66435d88443c62bfddcf3577c14fe0f8601c6c3c19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Security for selfcord 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page