Skip to content

A python module for easily execute discord webhooks with embeds and more

Notifications You must be signed in to change notification settings

MeitarR/DiscordHooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordHooks

A python module for easily execute discord webhooks with embeds and more

Installation

pip install DiscordHooks

Examples

from DiscordHooks import Hook, Embed, EmbedAuthor, Color
from datetime import datetime

webhook = 'your webhook url from discord'

embed = Embed(title='look here', url='https://github.com/MeitarR', description="some embed text here :pencil:",
              timestamp=datetime.utcnow(), color=Color.Aqua, author=EmbedAuthor(name="Meitar"))

Hook(hook_url=webhook, username="Meitar's webhook",
     avatar_url='https://avatars1.githubusercontent.com/u/14138694',
     content="Hello there! \U0001f62e", embeds=[embed]).execute()

About

A python module for easily execute discord webhooks with embeds and more

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages