@@ -5,7 +5,7 @@
|
||||
"synopsis": [
|
||||
"discord-bot [--env PATH] [--token TOKEN] [--guild ID] [--check] [--debug] [--message-content] [--login-timeout MS]"
|
||||
],
|
||||
"description": "Bare OS Discord bot via ctx.bare.discordJS. Commands run as the unlocked session user (not guest). Slash commands include /panel (buttons, selects, compose modals), /bare, /sys, /svc, /fs, /net, /man, /say, /run, /journal, /ping. Unit, man page, path, and /run options use Discord autocomplete. Replies are embeds. Foreground Ctrl+C stops the process. Token from --token, DISCORD_TOKEN, or ~/.discord/.env. Optional DISCORD_ID_WHITELIST=id,id restricts who may use the bot. The initd unit bare-os-discord is listed by systemctl only when ~/.discord/.env exists.",
|
||||
"description": "Bare OS Discord bot via ctx.bare.discordJS. Commands run as the unlocked session user (not guest). Slash commands include /panel, /edit and /create (modal file editor/creator for ~/ and /tmp, path picker + contents form, up to 20k characters), /bare, /sys, /svc, /fs, /net, /man, /say, /run, /journal, /ping. Unit, man page, path, and /run options use Discord autocomplete. Replies are embeds. Foreground Ctrl+C stops the process. Token from --token, DISCORD_TOKEN, or ~/.discord/.env. Optional DISCORD_ID_WHITELIST=id,id restricts who may use the bot. The initd unit bare-os-discord is listed by systemctl only when ~/.discord/.env exists.",
|
||||
"options": [
|
||||
{
|
||||
"flag": "--env PATH",
|
||||
|
||||
@@ -165,7 +165,7 @@ function discordUsage(argv0) {
|
||||
'host DISCORD_ENV_FILE, ~/.discord/.env, ~/.discord.env).\n' +
|
||||
'Ctrl+C stops the foreground bot. Initd unit bare-os-discord appears in\n' +
|
||||
'systemctl only when ~/.discord/.env exists with DISCORD_TOKEN=.\n' +
|
||||
'Slash commands: /panel /bare /sys /svc /fs /net /man /say /run /journal /ping.\n' +
|
||||
'Slash commands: /panel /edit /create /bare /sys /svc /fs /net /man /say /run /journal /ping.\n' +
|
||||
'Commands run as the unlocked session user. Options use Discord autocomplete.\n' +
|
||||
'Channel "ping" still replies pong when Message Content Intent is enabled.\n' +
|
||||
'DISCORD_ID_WHITELIST=id,id in .env restricts the bot to those Discord user ids.'
|
||||
|
||||
Reference in New Issue
Block a user