【文件属性】:
文件名称:DiscordWebhookAPI:用于Python的Discord服务的简单易用的Webhook API,用Python编写
文件大小:5KB
文件格式:ZIP
更新时间:2021-04-05 00:33:29
Python
DiscordWebhookAPI
用于Python的Discord服务的简单易用的Webhook API。
要求
程式设计语言
用于处理HTTP请求的库。
一个大脑。
例子
从文件。
from discord_webhook import DiscordWebhook , Embed , Author , Field , Footer
# Initializing The Webhook Builder Object
builder = DiscordWebhook . Builder ( "WEBHOOK URL" , "CONTENT" )
builder . set_username ( "USERNAME" )
builder . set_url ( "http://YOUR.URL" )
builder . set_tts ( True )
# Adds A New Em
【文件预览】:
DiscordWebhookAPI-master
----.gitignore(828B)
----requirements.txt(8B)
----LICENSE(1KB)
----example.py(1KB)
----README.md(2KB)
----discord_webhook.py(6KB)