phantom-ship: set SHIPYARD_OWNER_ID for owner-only /admin commands
This commit is contained in:
parent
69d982d0fa
commit
9ad8d71f61
1 changed files with 2 additions and 0 deletions
|
|
@ -250,6 +250,8 @@ in
|
|||
path = [ pythonEnv ];
|
||||
environment = {
|
||||
SHIPYARD_BOT_TOKEN_FILE = "/home/danny/.secrets/telegram-bot-token-shipyard";
|
||||
# Owner-only commands (/admin, /grant, /revoke) — anyone else gets ignored.
|
||||
SHIPYARD_OWNER_ID = "66070351"; # @DannyDannyDanny
|
||||
};
|
||||
serviceConfig = {
|
||||
WorkingDirectory = "/home/danny/shipyard";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue