You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will set up a starter project complete with all the essential files and dependencies:
8
18
9
19
```bash
10
-
npx @harmonix-js/cli init bot-name
11
-
# pnpm dlx @harmonix-js/cli init bot-name
12
-
# yarn dlx @harmonix-js/cli init bot-name
20
+
npx @harmonix-js/cli init <my-bot>
13
21
```
14
22
15
-
#### Command
23
+
##📡 Development
16
24
17
-
`commands/utils/ping.ts`
25
+
Harmonix offers a straightforward, user-friendly, and robust solution for writing commands naturally. It automates all repetitive tasks, allowing you to concentrate on developing your bot features with assurance.
18
26
27
+
Example of an `commands/ping.ts`:
19
28
```ts
20
29
import { defineCommand } from'@harmonix-js/core'
21
30
@@ -29,19 +38,21 @@ export default defineCommand(
29
38
)
30
39
```
31
40
32
-
#### Event
41
+
##📖 Documentation
33
42
34
-
`events/ready.ts`
43
+
Check out the Harmonix documentation to enhance your skills. It's an excellent resource for deepening your understanding of the framework, covering a large bunch of topics.
35
44
36
-
```ts
37
-
import { defineEvent } from'@harmonix-js/core'
45
+
## 🤝 Contribution
38
46
39
-
exportdefaultdefineEvent<'ready'>((client) => {
40
-
console.log('Bot is ready!')
41
-
})
42
-
```
47
+
We welcome your support to enhance Harmonix. To do that you can report bugs or give us feedback and ideas.
43
48
44
-
## License
49
+
## ⚖️ License
45
50
46
51
Published under the [MIT](https://github.com/harmonix-js/core/blob/main/LICENSE) license.
47
-
Made by [@nethriis](https://github.com/nethriis) 🖤
0 commit comments