Skip to content

Refactor + Dashboard Message Streaming #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .github/workflows/fly.yml

This file was deleted.

41 changes: 8 additions & 33 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,9 @@
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: wack-hacker-app
restart: always
depends_on:
- s3
env_file:
- .env
networks:
- app_network

s3:
image: minio/minio
container_name: wack-hacker-kv
restart: always
env_file:
- .env
ports:
- "9000:9000"
- "9001:9001"
volumes:
- s3_data:/data
command: server --console-address ":9001" /data
networks:
- app_network

volumes:
s3_data:

networks:
app_network:
app:
build:
context: .
dockerfile: Dockerfile
container_name: wack-hacker-app
restart: always
env_file:
- .env
22 changes: 0 additions & 22 deletions fly.toml

This file was deleted.

86 changes: 0 additions & 86 deletions src/commands/admin_check_birthdays.ts

This file was deleted.

31 changes: 0 additions & 31 deletions src/commands/admin_get_current_time.ts

This file was deleted.

148 changes: 0 additions & 148 deletions src/commands/birthday.ts

This file was deleted.

12 changes: 1 addition & 11 deletions src/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,11 @@ import type {
SlashCommandOptionsOnlyBuilder,
} from "discord.js";

import * as adminCheckBirthdays from "./admin_check_birthdays";
import * as adminGetCurrentTime from "./admin_get_current_time";
import * as birthday from "./birthday";
import * as removeBirthday from "./remove_birthday";
import * as summarize from "./summarize";

type Command = {
data: SlashCommandOptionsOnlyBuilder;
command: (interaction: ChatInputCommandInteraction) => Promise<void>;
};

export const commands: Command[] = [
adminCheckBirthdays,
adminGetCurrentTime,
birthday,
removeBirthday,
summarize,
];
export const commands: Command[] = [summarize];
Loading