dugudugu-discord-notifier


Namedugudugu-discord-notifier JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/taejun0622/notifier
SummaryA simple Discord notification tool using webhooks
upload_time2024-12-29 11:36:24
maintainerNone
docs_urlNone
authortaejun
requires_python<4.0,>=3.7
licenseMIT
keywords discord webhook notification bot
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Discord Notifier

A simple Python package for sending notifications to Discord channels using webhooks.

## Installation

```bash
pip install dugudugu-discord-notifier
```

## Usage

```python
from notifier.discord_notifier import DiscordNotifier

# Initialize with webhook URL
webhook_url = "your-webhook-url-here"  # Discord webhook URL
notifier = DiscordNotifier(webhook_url)

# Send a simple message
notifier.send_message("Hello, World!")

# Send a message with title
notifier.send_message("This is the message content", "This is the title")
```

### How to get Discord Webhook URL:
1. Go to your Discord server
2. Right-click on the channel you want to send messages to
3. Click 'Edit Channel'
4. Click 'Integrations'
5. Click 'Create Webhook' (or 'View Webhooks' if you already have one)
6. Click 'New Webhook'
7. Copy the Webhook URL

## Features

- Simple and easy to use
- Supports markdown formatting
- Timeout handling
- Error reporting

## Requirements

- Python 3.7+
- requests

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/taejun0622/notifier",
    "name": "dugudugu-discord-notifier",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.7",
    "maintainer_email": null,
    "keywords": "discord, webhook, notification, bot",
    "author": "taejun",
    "author_email": "dugudugu0622@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/8b/61/ffd5715fdae2890e8a6df952b7635782a6fbad9d809e2206d518cddf84d2/dugudugu_discord_notifier-0.3.0.tar.gz",
    "platform": null,
    "description": "# Discord Notifier\n\nA simple Python package for sending notifications to Discord channels using webhooks.\n\n## Installation\n\n```bash\npip install dugudugu-discord-notifier\n```\n\n## Usage\n\n```python\nfrom notifier.discord_notifier import DiscordNotifier\n\n# Initialize with webhook URL\nwebhook_url = \"your-webhook-url-here\"  # Discord webhook URL\nnotifier = DiscordNotifier(webhook_url)\n\n# Send a simple message\nnotifier.send_message(\"Hello, World!\")\n\n# Send a message with title\nnotifier.send_message(\"This is the message content\", \"This is the title\")\n```\n\n### How to get Discord Webhook URL:\n1. Go to your Discord server\n2. Right-click on the channel you want to send messages to\n3. Click 'Edit Channel'\n4. Click 'Integrations'\n5. Click 'Create Webhook' (or 'View Webhooks' if you already have one)\n6. Click 'New Webhook'\n7. Copy the Webhook URL\n\n## Features\n\n- Simple and easy to use\n- Supports markdown formatting\n- Timeout handling\n- Error reporting\n\n## Requirements\n\n- Python 3.7+\n- requests\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple Discord notification tool using webhooks",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://github.com/taejun0622/notifier",
        "Repository": "https://github.com/taejun0622/notifier"
    },
    "split_keywords": [
        "discord",
        " webhook",
        " notification",
        " bot"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5dd1d2dc0836612d511e9ba0492c751fa55d0f86be86c6ad727d43c96f017280",
                "md5": "5076a9a61b35b1a8203fa7500f13abfc",
                "sha256": "a767faf67e5b64a47bdbaf05c629437d96728f69abbe10a83dbb5b890afc2dbd"
            },
            "downloads": -1,
            "filename": "dugudugu_discord_notifier-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5076a9a61b35b1a8203fa7500f13abfc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.7",
            "size": 2733,
            "upload_time": "2024-12-29T11:36:21",
            "upload_time_iso_8601": "2024-12-29T11:36:21.852485Z",
            "url": "https://files.pythonhosted.org/packages/5d/d1/d2dc0836612d511e9ba0492c751fa55d0f86be86c6ad727d43c96f017280/dugudugu_discord_notifier-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b61ffd5715fdae2890e8a6df952b7635782a6fbad9d809e2206d518cddf84d2",
                "md5": "d628c067057372f4b33729dde5787926",
                "sha256": "b0cb0406777ef89ba72f3273fdc4150f736c43f132f2705298d7ea1a9ef3f54c"
            },
            "downloads": -1,
            "filename": "dugudugu_discord_notifier-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d628c067057372f4b33729dde5787926",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.7",
            "size": 2321,
            "upload_time": "2024-12-29T11:36:24",
            "upload_time_iso_8601": "2024-12-29T11:36:24.029876Z",
            "url": "https://files.pythonhosted.org/packages/8b/61/ffd5715fdae2890e8a6df952b7635782a6fbad9d809e2206d518cddf84d2/dugudugu_discord_notifier-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-29 11:36:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "taejun0622",
    "github_project": "notifier",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "dugudugu-discord-notifier"
}
        
Elapsed time: 0.39709s