CommonlyTools-2.1.3
توضیحات
You will use Python easily!
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | CommonlyTools-2.1.3 |
| نام | CommonlyTools |
| نسخه کتابخانه | 2.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | MaxPython110331 |
| ایمیل نویسنده | max.gamil110331@gmail.com |
| آدرس صفحه اصلی | https://github.com/maxgamil110331/CommonlyTools |
| آدرس اینترنتی | https://pypi.org/project/CommonlyTools/ |
| مجوز | MIT |
# CommonlyTools
----------
How to use CommonlyTools?
>```pip install CommonlyTools```
----------
>commonlytools/discohook.py
>>Discord Webhook Sender
>>>Step 1(If you do not need to use embed, you can skip this step.)
>>>```py
>>>from commonlytools import discohook
>>>
>>>embed=discohook.Embed(color=..., colour=..., timestamp=..., title="...", description="...") #If you need, you can enter the colour, title or descriotion
>>>embed.author(name="...", url="...", icon_url="...") #author
>>>embed.footer(text="...", icon_url="...") #footer
>>>embed.image(image_url="...") #image
>>>embed.thumbnail(thumbnail_url="...") #thumbnail
>>>embed.add_field(name="...", value="...", inline=...) #add_field #This function can unlimited superposition.
>>>```
>>
>>Step 2
>>>```py
>>>discohook.send(webhook_url="...", username="...", avatar_url="...", content="...", embeds=[...])
>>>```
>>
>>Step 3
>>>```
>>>Message was sent!
>>>```
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | datetime |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl CommonlyTools-2.1.3:
pip install CommonlyTools-2.1.3.whl
نصب پکیج tar.gz CommonlyTools-2.1.3:
pip install CommonlyTools-2.1.3.tar.gz