Skip to main content

A simple Python library to build Discord alert bots in minutes

Project description

discord-alerts-kit

A simple Python library to build Discord alert bots in minutes.

No boilerplate, no headaches — just plug your data source and go.

Installation

pip install discord-alerts-kit

Quick Start

from discord_alerts_kit import AlertBot

bot = AlertBot(config_path="config.yaml")

@bot.add_source
def my_alerts():
    return [
        {
            "title": "🎮 Free Game!",
            "description": "GTA V is free on Epic Games",
            "url": "https://epicgames.com",
            "footer": "discord-alerts-kit"
        }
    ]

bot.run_bot()

Configuration

token: "YOUR_BOT_TOKEN"
prefix: "!"
alert_channel: 123456789
dm_subscribers: true
color: 0x00ff00

Features

  • 🔌 Plug any data source in one function
  • 📨 Auto DM subscribers
  • 🎨 Custom embeds with colors, thumbnails, fields
  • ⚙️ YAML config
  • 🔄 Auto check every 10 minutes

License

MIT

Project details


Download files

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

Source Distribution

discord_alerts_kit-0.3.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

discord_alerts_kit-0.3.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file discord_alerts_kit-0.3.0.tar.gz.

File metadata

  • Download URL: discord_alerts_kit-0.3.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for discord_alerts_kit-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9ef0d7a17f20d7922a8aaa8946fc0d77de757057903fb4b678946f607d91354d
MD5 28cde5c86ddd38fab7166fff53898a11
BLAKE2b-256 3eb856877943597190ab9bd4756445728cdfe3c6835b1b57716a88cde6d6eb72

See more details on using hashes here.

File details

Details for the file discord_alerts_kit-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for discord_alerts_kit-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a24b22247be8ff6be610fe5f7dc0703162274ed8ee74f5009e96072cf94f94b5
MD5 4edffe65fbb59919e88561ac47b5b2c4
BLAKE2b-256 57b6548dcee94390e2ad57ed197818e8036f54e31866253a8dc6cd5f9206cd90

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page