trivious 1.3.5 → 1.3.7
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 +2 -17
- package/package.json +14 -1
package/README.md
CHANGED
|
@@ -1,31 +1,16 @@
|
|
|
1
1
|
# Trivious
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
### Features
|
|
8
|
-
- **Registry-based loading** - Auto-loads commands, events, components and modules from folders
|
|
9
|
-
- **Declarative command builders** with metadata (permissions, ephemeral, guild-only, etc)
|
|
10
|
-
- **Built-in permission system** with customisable role-based levels
|
|
11
|
-
- **Subcommand support** with independent permissions
|
|
12
|
-
- **Context menu commands** with the same permission & metadata system'
|
|
13
|
-
- **Component handlers** with custom id tagging and permission checks
|
|
14
|
-
- **Smart reply handling** - Automatically respects `ephemeralReply` and `interaction.replied`
|
|
15
|
-
- **One-command deploy** - `client.deploy()` pushes all commands globally
|
|
16
|
-
- **Zero boilerplate** - Less repetitive code, more focus on logic
|
|
3
|
+
Discord.js framework
|
|
17
4
|
|
|
18
5
|
---
|
|
19
6
|
|
|
20
7
|
### Installation
|
|
21
8
|
```bash
|
|
22
9
|
npm install trivious
|
|
23
|
-
# or
|
|
24
10
|
yarn add trivious
|
|
25
|
-
# or
|
|
26
11
|
pnpm add trivious
|
|
27
12
|
```
|
|
28
|
-
> Requires
|
|
13
|
+
> Requires Node.js 18+
|
|
29
14
|
|
|
30
15
|
---
|
|
31
16
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trivious",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"type": "module",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"discord-bot",
|
|
7
|
+
"discordjs",
|
|
8
|
+
"slash-commands",
|
|
9
|
+
"bot-framework",
|
|
10
|
+
"discord-permissions",
|
|
11
|
+
"subcommands",
|
|
12
|
+
"discord-components",
|
|
13
|
+
"context-menu",
|
|
14
|
+
"auto-load",
|
|
15
|
+
"typescript-discord"
|
|
16
|
+
],
|
|
17
|
+
"license": "Apache-2.0",
|
|
5
18
|
"publishConfig": {
|
|
6
19
|
"access": "public"
|
|
7
20
|
},
|