24 lines
484 B
Markdown
24 lines
484 B
Markdown
|
# Usage
|
||
|
|
||
|
```
|
||
|
usage: send_discord_msg.py [-h] [-i] webhook_url message
|
||
|
|
||
|
Send messages to Discord webhooks.
|
||
|
|
||
|
positional arguments:
|
||
|
webhook_url Discord webhook URL
|
||
|
message Message to send
|
||
|
|
||
|
options:
|
||
|
-h, --help show this help message and exit
|
||
|
-i, --ignore-errors Ignore errors and exit with success
|
||
|
```
|
||
|
|
||
|
# Use as executable
|
||
|
|
||
|
Requires pyinstaller, can build with the below command
|
||
|
|
||
|
```
|
||
|
pyinstaller --onefile --icon\ico.ico .\send_discord_msg.py
|
||
|
```
|