Package: canvacord
A copy ofcanvacordmade in python!Table of contentsInstallationExamplesCreating ImagesLinksDownloadsInstallationRun any of these commands in terminal:Mac / Linuxpip install canvacordWindowspython -m pip install canvacordExamples💡 This library requiresdiscord.py.Creating-Imagesimportdiscordfromdiscord.extimportcommandsimportcanvacordclient=commands.Bot(command_prefix="!")@client.command()asyncdefrankcard(ctx):user=ctx.authorusername=ctx.author.name+"#"+ctx.author.discriminatorcurrentxp=1lastxp=0nextxp=2current_level=1current_rank=1background=Noneimage=awaitcanvacord.rankcard(user=user,username=username,currentxp=currentxp,lastxp=lastxp,nextxp=nextxp,level=current_level,rank=current_rank,background=background,ranklevelsep="|",xpsep="/")file=discord.File(filename="rankcard.png",fp=image)awaitctx.send(file=file)@client.command()asyncdefwelcomecard(ctx):image=awaitcanvacord.welcomecard(user=ctx.author,background=None,avatarcolor="white",topcolor="white",bottomcolor="white",backgroundcolor="black",font=None,toptext="Welcome{user_name}!",bottomtext="Enjoy your stay in{server}!")file=discord.File(filename="welcomecard.png",fp=image)awaitctx.send(file=file)@client.command()asyncdeftriggered(ctx):user=ctx.authorimage=awaitcanvacord.trigger(user)file=discord.File(filename="triggered.gif",fp=image)awaitctx.send(file=file)@client.command()asyncdefcommunism(ctx):user=ctx.authorimage=awaitcanvacord.communism(user)file=discord.File(filename="communism.gif",fp=image)awaitctx.send(file=file)@client.command()asyncdefjail(ctx):user=ctx.authorimage=awaitcanvacord.jail(user)file=discord.File(filename="jail.png",fp=image)awaitctx.send(file=file)@client.command()asyncdefgay(ctx):user=ctx.authorimage=awaitcanvacord.gay(user)file=discord.File(filename="gay.png",fp=image)awaitctx.send(file=file)@client.command()asyncdefhitler(ctx):user=ctx.authorimage=awaitcanvacord.hitler(user)file=discord.File(filename="hitler.png",fp=image)awaitctx.send(file=file)@client.command()asyncdefaborted(ctx):user=ctx.authorimage=awaitcanvacord.aborted(user)file=discord.File(filename="aborted.png",fp=image)awaitctx.send(file=file)@client.command()asyncdefaffect(ctx):user=ctx.authorimage=awaitcanvacord.affect(user)file=discord.File(filename="affect.png",fp=image)awaitctx.send(file=file)@client.command()asyncdefairpods(ctx):user=ctx.authorimage=awaitcanvacord.airpods(user)file=discord.File(filename="airpods.gif",fp=image)awaitctx.send(file=file)@client.command()asyncdefamerica(ctx):user=ctx.authorimage=awaitcanvacord.america(user)file=discord.File(filename="america.gif",fp=image)awaitctx.send(file=file)@client.command()asyncdefwanted(ctx):user=ctx.authorimage=awaitcanvacord.wanted(user)file=discord.File(filename="wanted.png",fp=image)awaitctx.send(file=file)@client.command()asyncdefjoke(ctx):user=ctx.authorimage=awaitcanvacord.jokeoverhead(user)file=discord.File(filename="jokeoverhead.png",fp=image)awaitctx.send(file=file)@client.command()asyncdefspank(ctx):user1=ctx.authoruser2=ctx.authorimage=awaitcanvacord.spank(user1,user2)file=discord.File(filename="spank.png",fp=image)awaitctx.send(file=file)@client.command()asyncdefbed(ctx):user1=ctx.authoruser2=ctx.authorimage=awaitcanvacord.bed(user1,user2)file=discord.File(filename="bed.png",fp=image)awaitctx.send(file=file)client.run("BOT_TOKEN")LinksDownloads