misskey-random-sentence-bot/setup.md

11 lines
280 B
Markdown
Raw Normal View History

2024-07-04 18:18:05 +09:00
# Get mastodon access token
1. Preferences > Development > New Application
2. Set name of your app and enable `write`
3. Submit
2023-12-09 00:25:33 +09:00
2024-07-04 18:18:05 +09:00
# Set crontab with docker compose
If you want your bot to post every hour:
2023-12-09 00:25:33 +09:00
```
2024-07-04 18:18:05 +09:00
0 * * * * docker compose -f <your bot's path>/docker-compose.yml up
2023-12-09 00:25:33 +09:00
```