Python Discord

Posted onby admin
Latest version

Released:

execute discord webhooks

We're a large, friendly community focused around the Python programming language. 185,717 members. The theme for the Winter Code Jam 2020, the sixth Python Discord Code Jam, was utilizing the Kivy Framework to create Ancient Technology. The jam lasted for 9 days from January 17, 2020 to January 26, 2020 with 16 teams competing against each other. Task Description. The original task description, as found in the repository, was as follows. When getting a message, you're going to need an abc.Messageable object - essentially an object where you can send a message in, for example a text channel, a DM etc. Example: @bot.command async def getmsg(ctx, msgID: int): # yes, you can do msg: discord.Message # but for the purposes of this, i'm using an int msg = await ctx.fetchmessage(msgID) # you now have the message object from the id.

Discord

Project description

execute discord webhooks

Install

install via pip: pip install discord-webhook

Discord

Examples

basic webhook

multiple webhook urls

Python Discord

webhook with embedded content

This is another example with embedded content

Python Discord Cogs

By default, the embed fields are placed side by side. We can arrangee them in a new line by setting inline=False as follows

edit webhook messages

delete webhook messages

send files

You can use uploaded attachments in embeds:

remove embeds and files

.remove_file() removes the given file

allowed mentions

Look into the Discord Docs for examples and an explanation

This example would only ping user 123 and 124 but not everyone else.

use proxies

or

use cli

Release historyRelease notifications RSS feed

0.13.0

0.12.0

0.11.0

0.10.0

0.9.0

Python Discord Library

0.8.0

0.7.1

0.7.0

0.6.0

0.5.0

0.4.1

0.4.0

0.3.0

0.2.0

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for discord-webhook, version 0.13.0
Filename, sizeFile typePython versionUpload dateHashes
Filename, size discord_webhook-0.13.0-py3-none-any.whl (9.0 kB) File type Wheel Python version py3 Upload dateHashes
Filename, size discord-webhook-0.13.0.tar.gz (10.0 kB) File type Source Python version None Upload dateHashes
ClosePython discord server

Hashes for discord_webhook-0.13.0-py3-none-any.whl

Hashes for discord_webhook-0.13.0-py3-none-any.whl
AlgorithmHash digest
SHA256f946aa5cc820e3cb95575f43ff0ac1e37d655a25cb214ca1a3b74a6af71d7e13
MD5ae1f5671003d455e6d01d42d89e7ab43
BLAKE2-25616ba1db1ba5a0f3c4883099d5b818ba713e00be4abb70eab6979e96e308e3b98

Python Discord Webhook

Close

Hashes for discord-webhook-0.13.0.tar.gz

Python Discord Api

Hashes for discord-webhook-0.13.0.tar.gz
AlgorithmHash digest
SHA256d7774538321e62967b4248accfcad56972f05b9e07bd6599cd0d1c2ba376b325
MD54c25d9e82299b9e6ef952ec032ec7c3c
BLAKE2-2566a42ae9ca4baae720eac16e911d3965fe56c028c41ec156f51f3fdea6050f8d9