@tusile/bot 0.6.0 → 0.7.0

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.
package/README.md CHANGED
@@ -307,7 +307,7 @@ bot.command({ name: 'setup', description: 'Build the standard channels' }, async
307
307
  `view_channel`, `send_messages`, `manage_messages`, `manage_channels`, `manage_roles`,
308
308
  `manage_members`, `administrator`, `connect`, `speak`, `mute_members`, `deafen_members`,
309
309
  `manage_server`, `create_invite`, `attach_files`, `stream`, `use_camera`, `manage_emojis`,
310
- `manage_emoji_policy`, `timeout_members`. A name this package does not know throws, rather
310
+ `manage_emoji_policy`, `timeout_members`, `use_soundboard`, `manage_soundboard`. A name this package does not know throws, rather
311
311
  than quietly denying nothing.
312
312
 
313
313
  Two rules the server keeps, whatever the bot asks for: it cannot create a role above its
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tusile/bot",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Write a Tusile bot: slash commands, buttons, forms and voice, over an outbound WebSocket.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -25,6 +25,8 @@ export const Permissions = {
25
25
  manage_emojis: 1 << 16,
26
26
  manage_emoji_policy: 1 << 17,
27
27
  timeout_members: 1 << 18,
28
+ use_soundboard: 1 << 19,
29
+ manage_soundboard: 1 << 20,
28
30
  };
29
31
 
30
32
  /**