https://github.com/himkt/dobato
https://github.com/himkt/dobato
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/himkt/dobato
- Owner: himkt
- Created: 2020-09-12T12:46:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-21T13:40:11.000Z (almost 5 years ago)
- Last Synced: 2025-03-02T17:48:40.578Z (over 1 year ago)
- Language: Python
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Dobato - 堂鳩
[Dobato (堂鳩)](https://www.suntory.co.jp/eco/birds/encyclopedia/detail/4642.html)
is a simple tool to send a message to slack/discord.
### Install
`pip install dobato`
### Configure discord webhook
Run `python -m dobato setup`.
```bash
> poetry run python -m dobato setup
Discord webhook url: https://example.com/webhook
```
### Notify as a command
```bash
python3 -m dobato notify "Hello, World."
```
### Using dobato in a Python script
```python
from dobato import notify_fn
notify_fn("text")
```