27 lines
811 B
Markdown
27 lines
811 B
Markdown
# Telegram.Bot.DecisionMaker
|
|
Telegram bot that helps you make decisions. Production instance running on [@decisionparalysisbot](https://t.me/decisionparalysisbot).
|
|
|
|
In case the official instance ever goes down, here's how to set this up yourself:
|
|
- Obtain your own bot token from [@BotFather](https://t.me/BotFather)
|
|
- Start this bot using `TELEGRAM_BOT_TOKEN=yourtoken dotnet run`
|
|
|
|
systemd service example:
|
|
```
|
|
# /etc/systemd/system/decisionbot.service
|
|
[Unit]
|
|
Description=Telegram.Bot.DecisionMaker
|
|
Wants=network-online.target nss-lookup.target
|
|
After=network-online.target nss-lookup.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=botuser
|
|
WorkingDirectory=/opt/Telegram.Bot.DecisionMaker
|
|
Environment=TELEGRAM_BOT_TOKEN='yourtoken'
|
|
ExecStart=/usr/bin/dotnet run
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
```
|