diff --git a/Dockerfile b/Dockerfile index 5864e01..2aabb4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,6 @@ COPY . . RUN npm install -g typescript ts-node -CMD [ "ts-node", "index.ts" ] +CMD [ "ts-node", "src/index.ts" ] LABEL org.opencontainers.image.source="https://github.com/Antares-Network/CSSC-Bot" \ No newline at end of file diff --git a/__tests__/utils/channels.tests.ts b/__tests__/utils/channels.tests.ts index ad1eb7f..d2ec44d 100644 --- a/__tests__/utils/channels.tests.ts +++ b/__tests__/utils/channels.tests.ts @@ -1,4 +1,4 @@ -import { cleanChannelString } from "../../utils/channels"; +import { cleanChannelString } from "../../src/utils/channels"; import { expect, describe, it } from "@jest/globals"; //cleanChannelString diff --git a/package.json b/package.json index 34d7017..6963f43 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "description": "", "main": "index.ts", "scripts": { - "run": "ts-node index.ts", + "run": "ts-node src/index.ts", "format": "prettier --write .", "test": "jest" }, diff --git a/commands/owner/createRoles.ts b/src/commands/owner/createRoles.ts similarity index 100% rename from commands/owner/createRoles.ts rename to src/commands/owner/createRoles.ts diff --git a/commands/owner/csClassPoll.ts b/src/commands/owner/csClassPoll.ts similarity index 100% rename from commands/owner/csClassPoll.ts rename to src/commands/owner/csClassPoll.ts diff --git a/commands/owner/csCreateChannels.ts b/src/commands/owner/csCreateChannels.ts similarity index 100% rename from commands/owner/csCreateChannels.ts rename to src/commands/owner/csCreateChannels.ts diff --git a/commands/owner/say.ts b/src/commands/owner/say.ts similarity index 100% rename from commands/owner/say.ts rename to src/commands/owner/say.ts diff --git a/commands/owner/staffPoll.ts b/src/commands/owner/staffPoll.ts similarity index 100% rename from commands/owner/staffPoll.ts rename to src/commands/owner/staffPoll.ts diff --git a/commands/owner/yearPoll.ts b/src/commands/owner/yearPoll.ts similarity index 100% rename from commands/owner/yearPoll.ts rename to src/commands/owner/yearPoll.ts diff --git a/commands/user/clear.ts b/src/commands/user/clear.ts similarity index 100% rename from commands/user/clear.ts rename to src/commands/user/clear.ts diff --git a/commands/user/github.ts b/src/commands/user/github.ts similarity index 100% rename from commands/user/github.ts rename to src/commands/user/github.ts diff --git a/commands/user/help.ts b/src/commands/user/help.ts similarity index 100% rename from commands/user/help.ts rename to src/commands/user/help.ts diff --git a/commands/user/ping.ts b/src/commands/user/ping.ts similarity index 100% rename from commands/user/ping.ts rename to src/commands/user/ping.ts diff --git a/commands/user/status.ts b/src/commands/user/status.ts similarity index 100% rename from commands/user/status.ts rename to src/commands/user/status.ts diff --git a/commands/user/uptime.ts b/src/commands/user/uptime.ts similarity index 100% rename from commands/user/uptime.ts rename to src/commands/user/uptime.ts diff --git a/commands/user/version.ts b/src/commands/user/version.ts similarity index 100% rename from commands/user/version.ts rename to src/commands/user/version.ts diff --git a/commands/user/view.ts b/src/commands/user/view.ts similarity index 100% rename from commands/user/view.ts rename to src/commands/user/view.ts diff --git a/features/interactionCreate.ts b/src/features/interactionCreate.ts similarity index 100% rename from features/interactionCreate.ts rename to src/features/interactionCreate.ts diff --git a/features/status-changer.ts b/src/features/status-changer.ts similarity index 100% rename from features/status-changer.ts rename to src/features/status-changer.ts diff --git a/features/statuspage.ts b/src/features/statuspage.ts similarity index 100% rename from features/statuspage.ts rename to src/features/statuspage.ts diff --git a/index.ts b/src/index.ts similarity index 100% rename from index.ts rename to src/index.ts diff --git a/models/classModel.ts b/src/models/classModel.ts similarity index 100% rename from models/classModel.ts rename to src/models/classModel.ts diff --git a/models/staffModel.ts b/src/models/staffModel.ts similarity index 100% rename from models/staffModel.ts rename to src/models/staffModel.ts diff --git a/models/yearModel.ts b/src/models/yearModel.ts similarity index 100% rename from models/yearModel.ts rename to src/models/yearModel.ts diff --git a/utils/channels.ts b/src/utils/channels.ts similarity index 100% rename from utils/channels.ts rename to src/utils/channels.ts diff --git a/utils/docker.ts b/src/utils/docker.ts similarity index 100% rename from utils/docker.ts rename to src/utils/docker.ts diff --git a/utils/roles.ts b/src/utils/roles.ts similarity index 100% rename from utils/roles.ts rename to src/utils/roles.ts diff --git a/utils/sleep.ts b/src/utils/sleep.ts similarity index 100% rename from utils/sleep.ts rename to src/utils/sleep.ts