a fun bot for the hc slack

feat: make banner optional and set default banner

dunkirk.sh e2e192ce 8a108ce1

verified
+6 -2
+1 -1
src/features/takes/handlers/settings.ts
··· 125 125 type: "file_input", 126 126 action_id: "project_banner_input", 127 127 }, 128 - optional: prefill, 128 + optional: true, 129 129 }, 130 130 { 131 131 type: "input",
+5 -1
src/libs/schema.ts
··· 26 26 hackatimeKeys: text("hackatime_keys").notNull().default("[]"), 27 27 projectName: text("project_name").notNull().default(""), 28 28 projectDescription: text("project_description").notNull().default(""), 29 - projectBannerUrl: text("project_banner_url").notNull().default(""), 29 + projectBannerUrl: text("project_banner_url") 30 + .notNull() 31 + .default( 32 + "https://cdn.hackclubber.dev/slackcdn/6112834c647de7587680cc62fefa51e7.png", 33 + ), 30 34 hackatimeVersion: text("hackatime_version").notNull().default("v1"), 31 35 lastTakeUploadDate: text("last_take_upload_date") 32 36 .notNull()