seyfert-bot-starter 1.0.1 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seyfert-bot-starter",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Scaffold a modern Seyfert Discord bot with one command. Bun + TypeScript + Biome, zero configuration.",
5
5
  "keywords": [
6
6
  "discord",
@@ -1,26 +1,32 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.5.12/schema.json",
3
- "files": {
4
- "includes": ["**", "!**/dist", "!**/coverage", "!**/node_modules", "!**/bun.lock"]
5
- },
6
- "formatter": {
7
- "enabled": true,
8
- "indentStyle": "space",
9
- "indentWidth": 2,
10
- "lineWidth": 120,
11
- "formatWithErrors": false
12
- },
13
- "linter": {
14
- "enabled": true,
15
- "rules": {
16
- "preset": "recommended"
17
- }
18
- },
19
- "javascript": {
20
- "formatter": {
21
- "quoteStyle": "double",
22
- "semicolons": "always",
23
- "trailingCommas": "all"
24
- }
25
- }
26
- }
2
+ "$schema": "https://biomejs.dev/schemas/2.5.12/schema.json",
3
+ "files": {
4
+ "includes": [
5
+ "**",
6
+ "!**/dist",
7
+ "!**/coverage",
8
+ "!**/node_modules",
9
+ "!**/bun.lock"
10
+ ]
11
+ },
12
+ "formatter": {
13
+ "enabled": true,
14
+ "indentStyle": "space",
15
+ "indentWidth": 2,
16
+ "lineWidth": 120,
17
+ "formatWithErrors": false
18
+ },
19
+ "linter": {
20
+ "enabled": true,
21
+ "rules": {
22
+ "preset": "recommended"
23
+ }
24
+ },
25
+ "javascript": {
26
+ "formatter": {
27
+ "quoteStyle": "double",
28
+ "semicolons": "always",
29
+ "trailingCommas": "all"
30
+ }
31
+ }
32
+ }
@@ -1,22 +1,22 @@
1
1
  {
2
- "name": "<PACKAGE_NAME>",
3
- "version": "0.0.0",
4
- "type": "module",
5
- "private": true,
6
- "scripts": {
7
- "dev": "bun --watch src/index.ts",
8
- "start": "bun src/index.ts",
9
- "lint": "biome check .",
10
- "typecheck": "tsc --noEmit",
11
- "format": "biome format --write ."
12
- },
13
- "dependencies": {
14
- "@dotenvx/dotenvx": "^1.40.2",
15
- "seyfert": "^5.0.0"
16
- },
17
- "devDependencies": {
18
- "@biomejs/biome": "^2.5.7",
19
- "@types/bun": "^1.2.2",
20
- "typescript": "^5.9.0"
21
- }
22
- }
2
+ "name": "<PACKAGE_NAME>",
3
+ "version": "0.0.0",
4
+ "type": "module",
5
+ "private": true,
6
+ "scripts": {
7
+ "dev": "bun --watch src/index.ts",
8
+ "start": "bun src/index.ts",
9
+ "lint": "biome check .",
10
+ "typecheck": "tsc --noEmit",
11
+ "format": "biome format --write ."
12
+ },
13
+ "dependencies": {
14
+ "@dotenvx/dotenvx": "^1.40.2",
15
+ "seyfert": "^5.0.0"
16
+ },
17
+ "devDependencies": {
18
+ "@biomejs/biome": "^2.5.7",
19
+ "@types/bun": "^1.2.2",
20
+ "typescript": "^5.9.0"
21
+ }
22
+ }
@@ -1,11 +1,11 @@
1
1
  import { Command, type CommandContext, Declare } from "seyfert";
2
2
 
3
3
  @Declare({
4
- name: "ping",
5
- description: "Reply with pong",
4
+ name: "ping",
5
+ description: "Reply with pong",
6
6
  })
7
7
  export default class PingCommand extends Command {
8
- run(ctx: CommandContext) {
9
- return ctx.write({ content: "Pong!" });
10
- }
11
- }
8
+ run(ctx: CommandContext) {
9
+ return ctx.write({ content: "Pong!" });
10
+ }
11
+ }
@@ -2,15 +2,15 @@ import "@dotenvx/dotenvx/config";
2
2
  import { Client } from "seyfert";
3
3
 
4
4
  const client = new Client({
5
- intents: ["Guilds", "GuildMembers", "GuildMessages", "MessageContent"],
6
- locations: {
7
- base: "src",
8
- commands: "commands",
9
- },
5
+ intents: ["Guilds", "GuildMembers", "GuildMessages", "MessageContent"],
6
+ locations: {
7
+ base: "src",
8
+ commands: "commands",
9
+ },
10
10
  });
11
11
 
12
12
  client.once("ready", () => {
13
- console.log("[seyfert] bot is online");
13
+ console.log("[seyfert] bot is online");
14
14
  });
15
15
 
16
- void client.start();
16
+ void client.start();
@@ -1,18 +1,18 @@
1
1
  {
2
- "compilerOptions": {
3
- "target": "ES2022",
4
- "module": "ESNext",
5
- "moduleResolution": "bundler",
6
- "types": ["@types/bun"],
7
- "strict": true,
8
- "noUncheckedIndexedAccess": true,
9
- "verbatimModuleSyntax": true,
10
- "esModuleInterop": true,
11
- "forceConsistentCasingInFileNames": true,
12
- "skipLibCheck": true,
13
- "noEmit": true,
14
- "experimentalDecorators": true,
15
- "emitDecoratorMetadata": true
16
- },
17
- "include": ["src"]
18
- }
2
+ "compilerOptions": {
3
+ "target": "ES2022",
4
+ "module": "ESNext",
5
+ "moduleResolution": "bundler",
6
+ "types": ["@types/bun"],
7
+ "strict": true,
8
+ "noUncheckedIndexedAccess": true,
9
+ "verbatimModuleSyntax": true,
10
+ "esModuleInterop": true,
11
+ "forceConsistentCasingInFileNames": true,
12
+ "skipLibCheck": true,
13
+ "noEmit": true,
14
+ "experimentalDecorators": true,
15
+ "emitDecoratorMetadata": true
16
+ },
17
+ "include": ["src"]
18
+ }