A discord selfbot API wrapper (WIP)
Example usage:
import selfcord
token = "token"
bot = selfcord.Bot(prefixes=["!"])
@bot.on("ready")
async def ball(time):
print(f"{bot.user.name}\nTook {time * 1000:2f}ms to start up")
@bot.on("message_create")
async def invite_checker(message):
if message.content.startswith("discord.gg"):
await aprint(message.content)
@bot.cmd(description="ping pong", aliases=["test"])
async def ping(ctx):
await ctx.reply(f"pong!")
bot.run(token)