canvacord-3.4.3
3.4.3
3.4.2
3.4.1
3.4.0
3.3.9
3.3.8
3.3.7
3.3.6
3.3.5
3.3.4
3.3.3
3.3.2
0.3.4
0.3.3
0.2.9
0.2.80
0.2.8
0.2.79
0.2.78
0.2.77
0.2.76
0.2.75
0.2.74
0.2.73
0.2.72
0.2.71
0.2.70
0.2.7
0.2.69
0.2.68
0.2.67
0.2.66
0.2.65
0.2.64
0.2.63
0.2.62
0.2.61
0.2.60
0.2.6
0.2.59
0.2.58
0.2.57
0.2.56
0.2.55
0.2.54
0.2.53
0.2.52
0.2.51
0.2.50
0.2.5
0.2.49
0.2.47
0.2.46
0.2.45
0.2.44
0.2.43
0.2.42
0.2.41
0.2.40
0.2.4
0.2.39
0.2.38
0.2.37
0.2.36
0.2.35
0.2.34
0.2.33
0.2.32
0.2.31
0.2.30
0.2.3
0.2.29
0.2.27
0.2.26
0.2.25
0.2.24
0.2.23
0.2.21
0.2.20
0.2.2
0.2.19
0.2.18
0.2.17
0.2.16
0.2.14
0.2.13
0.2.12
0.2.11
0.2.10
0.2.1
0.2.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.32
0.1.31
0.1.30
0.1.3
0.1.29
0.1.28
0.1.27
0.1.26
0.1.25
0.1.24
0.1.23
0.1.22
0.1.21
0.1.20
0.1.2
0.1.19
0.1.18
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
3.4.3
3.4.2
3.4.1
3.4.0
3.3.9
3.3.8
3.3.7
3.3.6
3.3.5
3.3.4
3.3.3
2.3.1
1.3.0
0.3.4
0.3.3
0.2.9
0.2.80
0.2.8
0.2.79
0.2.78
0.2.77
0.2.76
0.2.75
0.2.74
0.2.73
0.2.72
0.2.71
0.2.70
0.2.7
0.2.69
0.2.68
0.2.67
0.2.66
0.2.65
0.2.64
0.2.63
0.2.62
0.2.61
0.2.60
0.2.6
0.2.59
0.2.58
0.2.57
0.2.56
0.2.55
0.2.54
0.2.53
0.2.52
0.2.51
0.2.5
0.2.49
0.2.47
0.2.46
0.2.45
0.2.44
0.2.43
0.2.42
0.2.41
0.2.40
0.2.4
0.2.39
0.2.38
0.2.37
0.2.36
0.2.35
0.2.34
0.2.33
0.2.32
0.2.31
0.2.30
0.2.3
0.2.29
0.2.27
0.2.26
0.2.25
0.2.24
0.2.23
0.2.21
0.2.20
0.2.2
0.2.19
0.2.18
0.2.17
0.2.16
0.2.14
0.2.13
0.2.12
0.2.11
0.2.10
0.2.1
0.2.0
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.32
0.1.31
0.1.30
0.1.3
0.1.29
0.1.28
0.1.27
0.1.26
0.1.25
0.1.24
0.1.23
0.1.22
0.1.21
0.1.20
0.1.2
0.1.19
0.1.18
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.1
0.1.0
0.0.9
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
توضیحات
A Python Version of Canvacord
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | canvacord-3.4.3 |
| نام | canvacord |
| نسخه کتابخانه | 3.4.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Blazen |
| ایمیل نویسنده | contact@fireballbot.com |
| آدرس صفحه اصلی | https://github.com/BlazenBoi/canvacord.py/issues |
| آدرس اینترنتی | https://pypi.org/project/canvacord/ |
| مجوز | MIT |
[](https://discord.gg/mPU3HybBs9)
[](https://pypi.org/project/canvacord)
[](https://pypi.python.org/pypi/canvacord)
A copy of [canvacord](https://www.npmjs.com/package/canvacord) made in python!
# Table of contents
1. [Installation](#installation)
2. [Examples](#examples)
3. [Creating Images](#creating-images)
4. [Links](#links)
5. [Downloads](#downloads)
# Installation
Run any of these commands in terminal:
Mac / Linux
```
pip install canvacord
```
Windows
```
python -m pip install canvacord
```
# Examples
💡 This library requires **[discord.py](https://github.com/Rapptz/discord.py)**.
## Creating-Images
```python
import discord
from discord.ext import commands
import canvacord
client = commands.Bot(command_prefix="!")
@client.command()
async def rankcard(ctx):
user = ctx.author
username = ctx.author.name + "#" + ctx.author.discriminator
currentxp = 1
lastxp = 0
nextxp = 2
current_level = 1
current_rank = 1
background = None
image = await canvacord.rankcard(user=user, username=username, currentxp=currentxp, lastxp=lastxp, nextxp=nextxp, level=current_level, rank=current_rank, background=background)
file = discord.File(filename="rankcard.png", fp=image)
await ctx.send(file=file)
@client.command()
async def triggered(ctx):
user = ctx.author
image = await canvacord.trigger(user)
file = discord.File(filename="triggered.gif", fp=image)
await ctx.send(file=file)
@client.command()
async def communism(ctx):
user = ctx.author
image = await canvacord.communism(user)
file = discord.File(filename="communism.gif", fp=image)
await ctx.send(file=file)
@client.command()
async def jail(ctx):
user = ctx.author
image = await canvacord.jail(user)
file = discord.File(filename="jail.png", fp=image)
await ctx.send(file=file)
@client.command()
async def gay(ctx):
user = ctx.author
image = await canvacord.gay(user)
file = discord.File(filename="gay.png", fp=image)
await ctx.send(file=file)
@client.command()
async def hitler(ctx):
user = ctx.author
image = await canvacord.hitler(user)
file = discord.File(filename="hitler.png", fp=image)
await ctx.send(file=file)
@client.command()
async def aborted(ctx):
user = ctx.author
image = await canvacord.aborted(user)
file = discord.File(filename="aborted.png", fp=image)
await ctx.send(file=file)
@client.command()
async def affect(ctx):
user = ctx.author
image = await canvacord.affect(user)
file = discord.File(filename="affect.png", fp=image)
await ctx.send(file=file)
@client.command()
async def airpods(ctx):
user = ctx.author
image = await canvacord.airpods(user)
file = discord.File(filename="airpods.gif", fp=image)
await ctx.send(file=file)
@client.command()
async def america(ctx):
user = ctx.author
image = await canvacord.america(user)
file = discord.File(filename="america.gif", fp=image)
await ctx.send(file=file)
@client.command()
async def wanted(ctx):
user = ctx.author
image = await canvacord.wanted(user)
file = discord.File(filename="wanted.png", fp=image)
await ctx.send(file=file)
@client.command()
async def joke(ctx):
user = ctx.author
image = await canvacord.jokeoverhead(user)
file = discord.File(filename="jokeoverhead.png", fp=image)
await ctx.send(file=file)
@client.command()
async def spank(ctx):
user1 = ctx.author
user2 = ctx.author
image = await canvacord.spank(user1, user2)
file = discord.File(filename="spank.png", fp=image)
await ctx.send(file=file)
@client.command()
async def bed(ctx):
user1 = ctx.author
user2 = ctx.author
image = await canvacord.bed(user1, user2)
file = discord.File(filename="bed.png", fp=image)
await ctx.send(file=file)
client.run("BOT_TOKEN")
```
# Links
[](https://discord.gg/mPU3HybBs9)
[](https://pypi.org/project/canvacord)
# Downloads
[](https://pepy.tech/project/canvacord)
[](https://pepy.tech/project/canvacord)

نیازمندی
| مقدار | نام |
|---|---|
| >=42 | setuptools |
| - | wheel |
| - | pillow |
| - | discord |
| - | asyncio |
| - | aiohttp |
| - | typing |
| - | datetime |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl canvacord-3.4.3:
pip install canvacord-3.4.3.whl
نصب پکیج tar.gz canvacord-3.4.3:
pip install canvacord-3.4.3.tar.gz