Skip to content
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

New era bot #10

Merged
merged 29 commits into from
Dec 8, 2023
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
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CLIENT_ID=client-id
DISCORD_TOKEN=discord-token
CHATGPT_API_KEY=get-your-chatgpt-key
GIDENLER_CHANNEL_ID=channel-id
GIDENLER_VIDEO_LINK=youtube-link
15 changes: 15 additions & 0 deletions .github/workflows/fly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Fly deploy
on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.idea
node_modules
.DS_Store
config.ts
.env
grouped.json
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ WORKDIR /app
COPY --from=deps /app/node_modules /app/node_modules
ADD . .

CMD ["./node_modules/.bin/nodemon", "index.js"]
# CMD ["./node_modules/.bin/nodemon", "index.ts"]
# CMD ["node", "--loader", "ts-node/esm", "index.ts"]
CMD ["npm", "run", "dev"]
22 changes: 0 additions & 22 deletions cognitoConfirmUser.js

This file was deleted.

21 changes: 0 additions & 21 deletions cognitoResendActivation.js

This file was deleted.

28 changes: 0 additions & 28 deletions cognitoSignUp.js

This file was deleted.

25 changes: 0 additions & 25 deletions commands/confirmActivation.js

This file was deleted.

24 changes: 0 additions & 24 deletions commands/help.js

This file was deleted.

21 changes: 0 additions & 21 deletions commands/resendActivation.js

This file was deleted.

47 changes: 0 additions & 47 deletions commands/signup.js

This file was deleted.

36 changes: 0 additions & 36 deletions commands/unused/goLive.js

This file was deleted.

56 changes: 0 additions & 56 deletions commands/unused/info.js

This file was deleted.

18 changes: 0 additions & 18 deletions config.js

This file was deleted.

3 changes: 3 additions & 0 deletions config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const KAMPUS_GUILD_ID = "717812863414042624";
export const GUNAYDIN_CHANNEL_ID = "1158288028511522877";
export const SORU_CEVAP_CHANNEL_ID = "1019649988550197248";
28 changes: 0 additions & 28 deletions createDiscordClient.js

This file was deleted.

Loading