Skip to content

Commit 4e73108

Browse files
committed
changes
1 parent 3eef333 commit 4e73108

10 files changed

Lines changed: 30 additions & 31 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ jobs:
2727
node-version: ${{ matrix.node-version }}
2828
cache: 'npm'
2929
- run: npm ci
30-
- run: npm run build --if-present
31-
- run: npm test
30+
- run: npm run build --if-present

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
22
"name": "boostify",
3-
"version": "1.0.0",
3+
"version": "1.0.0beta1",
44
"description": "",
5-
"main": "index.js",
5+
"main": "dist/index.js",
66
"type": "module",
7-
"scripts": {
8-
"build": "tsc",
9-
"start": "node dist/index.js",
10-
"dev": "tsx src/index.ts"
11-
},
7+
"scripts": {
8+
"build": "tsc",
9+
"start": "node dist/index.js",
10+
"dev": "tsx src/index.ts"
11+
},
1212
"keywords": [],
1313
"author": "",
1414
"license": "ISC",
15-
"devDependencies": {
16-
"@types/node": "^20.0.0",
17-
"ts-node": "^10.9.0",
18-
"typescript": "^5.0.0"
19-
},
15+
"devDependencies": {
16+
"@types/node": "^20.0.0",
17+
"ts-node": "^10.9.0",
18+
"typescript": "^5.0.0"
19+
},
2020
"dependencies": {
2121
"@clack/prompts": "^1.1.0",
2222
"chalk": "^4.1.2",

src/commands/booster.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
EmbedBuilder,
55
PermissionFlagsBits,
66
} from "discord.js";
7-
import { Command } from "../libs/loadCommands";
7+
import { Command } from "../libs/loadCommands.js";
88
import {
99
getBooster,
1010
addBoostCount,
@@ -13,7 +13,7 @@ import {
1313
getActiveBoosters,
1414
getTotalBoosts,
1515
registerBoost,
16-
} from "../services/boosterService";
16+
} from "../services/boosterService.js";
1717

1818
const boosterCommand: Command = {
1919
data: new SlashCommandBuilder()

src/commands/channel.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import {
22
SlashCommandBuilder,
33
ChatInputCommandInteraction,
44
} from "discord.js";
5-
import { Command } from "../libs/loadCommands";
6-
import { getBooster } from "../services/boosterService";
7-
import { createPrivateChannel, deletePrivateChannel } from "../services/channelService";
5+
import { Command } from "../libs/loadCommands.js";
6+
import { getBooster } from "../services/boosterService.js";
7+
import { createPrivateChannel, deletePrivateChannel } from "../services/channelService.js";
88

99
const channelCommand: Command = {
1010
data: new SlashCommandBuilder()

src/commands/example_all.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
ButtonBuilder,
77
ButtonStyle,
88
} from "discord.js";
9-
import { Command } from "../libs/loadCommands";
9+
import { Command } from "../libs/loadCommands.js";
1010

1111
const exampleAllCommand: Command = {
1212
data: new SlashCommandBuilder()

src/commands/reload.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
Client,
66
Collection,
77
} from "discord.js";
8-
import { Command } from "../libs/loadCommands";
9-
import { loadCommands } from "../libs/loadCommands";
10-
import { loadVariables } from "../libs/loadVariables";
8+
import { Command } from "../libs/loadCommands.js";
9+
import { loadCommands } from "../libs/loadCommands.js";
10+
import { loadVariables } from "../libs/loadVariables.js";
1111

1212
const reloadCommand: Command = {
1313
data: new SlashCommandBuilder()

src/commands/role.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import {
44
PermissionFlagsBits,
55
ColorResolvable,
66
} from "discord.js";
7-
import { Command } from "../libs/loadCommands";
8-
import { getBooster } from "../services/boosterService";
7+
import { Command } from "../libs/loadCommands.js";
8+
import { getBooster } from "../services/boosterService.js";
99
import {
1010
createCustomRole,
1111
updateCustomRole,
1212
deleteCustomRole,
13-
} from "../services/roleService";
13+
} from "../services/roleService.js";
1414

1515
const roleCommand: Command = {
1616
data: new SlashCommandBuilder()

src/services/channelService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
PermissionFlagsBits,
66
TextChannel,
77
} from "discord.js";
8-
import { getBooster, setPrivateChannel } from "./boosterService";
8+
import { getBooster, setPrivateChannel } from "./boosterService.js";
99

1010
export async function createPrivateChannel(
1111
guild: Guild,

src/services/roleService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import {
55
ColorResolvable,
66
PermissionFlagsBits,
77
} from "discord.js";
8-
import { Config } from "../libs/loadVariables";
9-
import { setCustomRole, getBooster, BoosterRecord } from "./boosterService";
8+
import { Config } from "../libs/loadVariables.js";
9+
import { setCustomRole, getBooster, BoosterRecord } from "./boosterService.js";
1010

1111
export interface BoostLevelRole {
1212
minBoosts: number;

0 commit comments

Comments
 (0)