8000 GitHub - erickang21/weebhooks
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

erickang21/weebhooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weebhooks

A simple Webhooks client for Discord

Install

pip install weebhooks

Usage

from webhooks import Weebhook, Embed

hook = Weebhook("WebhookURL", is_async=False)
hook.send("Hello World!")
em = Embed(title="Hello", color=0xff0000).add_field("name", "value")
hook.send(embed=em)

Async

import asyncio
from webhooks import Weebhook

async def main():
    hook = Webhook("URL", is_async=True)
    await hook.send("Hello, Asynciful World!")

asyncio.get_event_loop().run_until_complete(main())

License

MIT. It's a library. C'mon.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

0