Skip to content

maxachis/Discord-Poster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Discord Poster

A lightweight Python client to post messages to a Discord webhook.

Setting up Webhooks

For information on creating Discord webhooks, see Discord's documentation here.

Features

  • Simple and lightweight
  • Supports optional error logging and exception raising
  • Custom exception class for better error handling
  • Built-in request timeout (10 seconds)

Installation

pip install discord-poster

Usage

from discord_poster import DiscordPoster

dp = DiscordPoster(webhook_url="my-webhook-url")
dp.post_to_discord(message="Hello from Discord Poster 😎")

About

A lightweight class for sending notifications to Discord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages