@rcpooley/botyard 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/botyard.js +3 -3
  2. package/package.json +1 -1
package/dist/botyard.js CHANGED
@@ -187,7 +187,7 @@ const COMMANDS = [
187
187
  'Names are 1-100 characters; words after <channel> are joined, so quotes are optional. Without --from it is a new public thread with no opening message.',
188
188
  'For a new topic: post a short opening message in the channel, then botyard thread <server> <channel> <name> --from <that message id>, and keep the discussion in the thread. The channel then holds one entrance post per topic.',
189
189
  'Threads close themselves after a week without messages; sending to one opens it again.',
190
- "--add <user id> adds that person to the thread (repeat it, up to 10), silently: no ping. Discord notifies someone about a thread's messages only once they are a member of it, so add the humans who should hear about it. Someone Discord refuses (not in the server, say) is listed and the thread is still made. For a thread that already exists: botyard thread-add.",
190
+ "--add <user id> adds that person to the thread (repeat it, up to 10), without a ping (Discord shows an 'added to the thread' line in it). Discord notifies someone about a thread's messages only once they are a member of it, so add the humans who should hear about it. Someone Discord refuses (not in the server, say) is listed and the thread is still made. For a thread that already exists: botyard thread-add.",
191
191
  ],
192
192
  args: 3,
193
193
  rest: true,
@@ -210,7 +210,7 @@ const COMMANDS = [
210
210
  name: 'thread-add',
211
211
  group: 'Writing',
212
212
  usage: 'thread-add <server> <thread> <user id>...',
213
- summary: 'add people to an existing thread, silently',
213
+ summary: 'add people to an existing thread, without a ping',
214
214
  details: [
215
215
  'Adds each user id to the thread without pinging them. Discord notifies a person about a thread\'s messages only once they are a member of it, so this is how the humans who own a project get notified of the threads you start.',
216
216
  '<thread> is its id or, while it is active, its name. A user id is a number (Discord: Settings > Advanced > Developer Mode, then right-click a person > Copy User ID).',
@@ -433,7 +433,7 @@ function commandHelp(c) {
433
433
  }
434
434
  /** Who a thread's members call added, and who Discord refused. */
435
435
  function memberLines(added, failed) {
436
- return [...(added.length > 0 ? [`Added (silently, no ping): ${added.join(', ')}`] : []), ...failed.map((f) => `Could not add ${f.id}: ${f.error}`)];
436
+ return [...(added.length > 0 ? [`Added (no ping): ${added.join(', ')}`] : []), ...failed.map((f) => `Could not add ${f.id}: ${f.error}`)];
437
437
  }
438
438
  function quote(s) {
439
439
  return /^[\w#.-]+$/.test(s) ? s : `"${s.replace(/"/g, '\\"')}"`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rcpooley/botyard",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Read and send in Discord through your own bot, hosted by Botyard. Made for AI agents.",
5
5
  "type": "module",
6
6
  "bin": {