mirror of
https://github.com/SrIzan10/flight-slack.git
synced 2026-06-06 00:56:52 +00:00
chore: fix codespace stuff
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
ARG VARIANT=bullseye
|
||||
FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/base:0-${VARIANT}
|
||||
FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/typescript-node:0-${VARIANT}
|
||||
|
||||
ENV BUN_INSTALL=/bun
|
||||
RUN mkdir -p /bun \
|
||||
&& curl -fsSL https://bun.sh/install | bash \
|
||||
&& chown -R vscode /bun
|
||||
&& curl -fsSL https://bun.sh/install | bash
|
||||
ENV PATH=${BUN_INSTALL}/bin:${PATH}
|
||||
|
||||
@@ -2,14 +2,5 @@
|
||||
"name": "bun",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {},
|
||||
"extensions": []
|
||||
}
|
||||
},
|
||||
|
||||
"remoteUser": "vscode"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
SLACK_APP_TOKEN=xapp-
|
||||
SLACK_BOT_TOKEN=xoxb-
|
||||
@@ -1,7 +1,4 @@
|
||||
import { App } from "@slack/bolt";
|
||||
import * as chrono from "chrono-node";
|
||||
import Keyv from "keyv";
|
||||
import KeyvSqlite from "@keyv/sqlite";
|
||||
|
||||
const app = new App({
|
||||
token: process.env.SLACK_BOT_TOKEN,
|
||||
|
||||
Reference in New Issue
Block a user