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.5.0.tar.gz (5.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.5.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: discord_alerts_kit-0.5.0.tar.gz
  • Upload date:
  • Size: 5.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.5.0.tar.gz
Algorithm Hash digest
SHA256 160a5fa4aec5a6dafcc2f86b5f2927007a6b91a794f1028ae819ae9b8e0ab160
MD5 8e837e5c9843338418ca5d2523a19ff1
BLAKE2b-256 26afcc768afc9e695c2cb6cabf18044e8bc51086f399ffa00aa3c06349845ab4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for discord_alerts_kit-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 077d4b3e888c58b733901bcc744d332315290fd2f8524db34da49d4a6a7cd3f7
MD5 b257dbce924d4b7a1679caed6a03f653
BLAKE2b-256 11c18aa3f94994baffe3cb20d3d56b0e46932fcf91dcd0de2cd9ebdd2a782813

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