Skip to main content

Inspired by quick.hook, this makes sending webhooks in discord .py much, much easier! Most of the functions below are wrapped in a:

@bot.command
async def command(ctx):

IMPORTANT NOTE

for editors without pip, such as repl.it, to install the package, instead of pip install ezhook you would put the following at the top of your script:

import os
os.system('pip install ezhook')
import ezhook

Support Server

Examples:

Without Embed:

import ezhook
await ezhook.send_hook(
     bot = bot,
     channel = ctx.channel,
     message = "This is an example",
     username = "Space Boii",
     avatarURL = "https://i.imgur.com/EpTz5rOb.jpg",
)

Without Embed





With Embed:

import ezhook
embed=discord.Embed(title="example embed", color=3093151)
embed.add_field(name='hi',value="hello")
await ezhook.send_hook(
	bot = bot,
	channel = ctx.channel,
	message="This is an example",
	embed = embed,
	username = "Space Boii",
	avatarURL = "https://i.imgur.com/EpTz5rOb.jpg",
)

With Embed



Release files for ezhook 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ezhook 0.0.1
File Size Uploaded
ezhook-0.0.1.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ezhook 0.0.1
File Interpreter ABI Platform
ezhook-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.5 kB

Release files / ezhook-0.0.1.tar.gz

Download URL ezhook-0.0.1.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a0421256d2ae3160a5d95c520cc09a9a58fb35bd77692ac8cdb462311be25453
BLAKE2b-256 checksum
How to use checksums
9d56c53bff375717490ecef8d933fe04db89cde006e7733ce0edb9fa552c15e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.5

Release files / ezhook-0.0.1-py3-none-any.whl

Download URL ezhook-0.0.1-py3-none-any.whl
Size 1.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82d43f1d40d1689d7cd6fb6a9dcb19157d6c307e42e6ce3660613663aa2b20c6
BLAKE2b-256 checksum
How to use checksums
c35762494ce8647d4e8c4893cd800acf3cc68341f5b400bf26bccd45143c49c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.5

Release history Release notifications | RSS feed

0.0.2

2 release files

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page