-
Notifications
You must be signed in to change notification settings - Fork 5
Feat/personification #18
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
base: main
Are you sure you want to change the base?
Changes from 26 commits
ef17b2b
7f16a78
61268b3
9d0d6e8
6f5c055
cb81c38
8d8d5e3
2a00631
0cc84fc
21f0a5a
02f0401
401ace0
7ad6df3
d1f2fd1
5bea9b2
3cbfa63
d9369af
4bfc3be
38ee5bc
f6f47b0
ca29316
646d04b
817453c
4191a3e
0f888d1
92f3d7d
dbea6d2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,35 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", | ||
| "dictionaries": ["software-terms", "npm", "fullstack", "redis"], | ||
| "files": ["**", ".vscode/**", ".github/**"], | ||
| "ignorePaths": ["bun.lock"], | ||
| "ignoreRegExpList": ["apiKey='[a-zA-Z0-9-]{32}'"], | ||
| "import": [ | ||
| "@cspell/dict-redis/cspell-ext.json", | ||
| "@cspell/dict-bash/cspell-ext.json" | ||
| ], | ||
| "useGitignore": true, | ||
| "version": "0.2", | ||
| "words": [ | ||
| "anirudh", | ||
| "sriram", | ||
| "Fellipe", | ||
| "Utaka", | ||
| "umami", | ||
| "assemblyai", | ||
| "bitstream", | ||
| "zenix", | ||
| "openrouter", | ||
| "elevenlabs", | ||
| "hackclub", | ||
| "deepgram", | ||
| "libsodium", | ||
| "livecrawl", | ||
| "grok", | ||
| "gork", | ||
| "dalle", | ||
| "dall", | ||
| "arcas", | ||
| "techwithanirudh" | ||
| ] | ||
| } | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", | ||
| "dictionaries": ["software-terms", "npm", "fullstack", "redis"], | ||
| "files": ["**", ".vscode/**", ".github/**"], | ||
| "ignorePaths": ["bun.lock"], | ||
| "ignoreRegExpList": ["apiKey='[a-zA-Z0-9-]{32}'"], | ||
| "import": [ | ||
| "@cspell/dict-redis/cspell-ext.json", | ||
| "@cspell/dict-bash/cspell-ext.json" | ||
| ], | ||
| "useGitignore": true, | ||
| "version": "0.2", | ||
| "words": [ | ||
| "anirudh", | ||
| "sriram", | ||
| "Fellipe", | ||
| "Utaka", | ||
| "umami", | ||
| "assemblyai", | ||
| "bitstream", | ||
| "zenix", | ||
| "openrouter", | ||
| "elevenlabs", | ||
| "hackclub", | ||
| "deepgram", | ||
| "libsodium", | ||
| "livecrawl", | ||
| "grok", | ||
| "gork", | ||
| "dalle", | ||
| "dall", | ||
| "arcas", | ||
| "techwithanirudh" | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,34 +1,34 @@ | ||
| { | ||
| "env": { | ||
| "es2021": true, | ||
| "node": true | ||
| }, | ||
| "extends": [ | ||
| "eslint:recommended", | ||
| "plugin:@typescript-eslint/recommended", | ||
| "plugin:import-x/recommended", | ||
| "plugin:import-x/typescript", | ||
| "prettier" | ||
| ], | ||
| "plugins": ["@typescript-eslint", "import-x"], | ||
| "parser": "@typescript-eslint/parser", | ||
| "parserOptions": { | ||
| "ecmaVersion": "latest", | ||
| "sourceType": "module" | ||
| }, | ||
| "rules": { | ||
| "semi": ["warn", "always"], | ||
| "arrow-parens": ["warn", "always"], | ||
| "no-unused-vars": "warn", | ||
| "no-console": "off", | ||
| "import/prefer-default-export": "off" | ||
| }, | ||
| "settings": { | ||
| "import/resolver": { | ||
| // You will also need to install and configure the TypeScript resolver | ||
| // See also https://github.com/import-js/eslint-import-resolver-typescript#configuration | ||
| "typescript": true, | ||
| "node": true | ||
| } | ||
| } | ||
| } | ||
| { | ||
| "env": { | ||
| "es2021": true, | ||
| "node": true | ||
| }, | ||
| "extends": [ | ||
| "eslint:recommended", | ||
| "plugin:@typescript-eslint/recommended", | ||
| "plugin:import-x/recommended", | ||
| "plugin:import-x/typescript", | ||
| "prettier" | ||
| ], | ||
| "plugins": ["@typescript-eslint", "import-x"], | ||
| "parser": "@typescript-eslint/parser", | ||
| "parserOptions": { | ||
| "ecmaVersion": "latest", | ||
| "sourceType": "module" | ||
| }, | ||
| "rules": { | ||
| "semi": ["warn", "always"], | ||
| "arrow-parens": ["warn", "always"], | ||
| "no-unused-vars": "warn", | ||
| "no-console": "off", | ||
| "import/prefer-default-export": "off" | ||
| }, | ||
| "settings": { | ||
| "import/resolver": { | ||
| // You will also need to install and configure the TypeScript resolver | ||
| // See also https://github.com/import-js/eslint-import-resolver-typescript#configuration | ||
| "typescript": true, | ||
| "node": true | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| github: techwithanirudh | ||
| buy_me_a_coffee: techwithanirudh | ||
| github: techwithanirudh | ||
| buy_me_a_coffee: techwithanirudh |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| name: Check setup | ||
|
|
||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Setup bun | ||
| uses: oven-sh/setup-bun@v2 | ||
|
|
||
| - name: Get Bun cache directory | ||
| shell: bash | ||
| run: | | ||
| echo "STORE_PATH=${HOME}/.bun/install/cache" >> $GITHUB_ENV | ||
|
|
||
| - name: Setup Bun cache | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ${{ env.STORE_PATH }} | ||
| key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-bun- | ||
|
|
||
| - name: Install dependencies | ||
| shell: bash | ||
| run: bun install | ||
|
|
||
| - name: Create environment variables file | ||
| shell: bash | ||
| run: | | ||
| cat << EOF > .env.local | ||
| DISCORD_TOKEN=your_discord_token_here | ||
| DISCORD_CLIENT_ID=your_discord_client_id_here | ||
| DISCORD_OWNER_ID=your_discord_owner_id_here | ||
| DISCORD_DEFAULT_GUILD_ID=your_discord_default_guild_id_here | ||
| OPENAI_API_KEY=sk-your_openai_api_key_here | ||
| UPSTASH_REDIS_REST_URL=https://your_upstash_redis_rest_url.upstash.io | ||
| UPSTASH_REDIS_REST_TOKEN=your_upstash_redis_rest_token | ||
| LOG_LEVEL=INFO | ||
| LOG_DIRECTORY=logs | ||
| MEM0_API_KEY=m0-api_key_here | ||
| DEEPGRAM_API_KEY=your_deepgram_api_key_here | ||
| ELEVENLABS_API_KEY=your_elevenlabs_api_key_here | ||
| EXA_API_KEY=your_exa_api_key_here | ||
| EOF | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,25 @@ | ||
| ### Description | ||
|
|
||
| <!-- Describe your changes in detail. What problem does this PR solve? --> | ||
|
|
||
| ### Type of Change | ||
|
|
||
| <!-- Put an 'x' in all boxes that apply --> | ||
|
|
||
| - [ ] Bug fix (non-breaking change which fixes an issue) | ||
| - [ ] New feature (non-breaking change which adds functionality) | ||
| - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
| - [ ] Refactor (non-breaking change that doesn't fix a bug or add a feature) | ||
| - [ ] Documentation update | ||
|
|
||
| ### Pre-flight Checklist | ||
|
|
||
| <!-- Put an 'x' in all boxes that apply --> | ||
|
|
||
| - [ ] Changes are limited to a single feature, bugfix or chore (split larger changes into separate PRs) | ||
| - [ ] `bun check` without any issues | ||
| - [ ] I have reviewed [contributor guidelines](https://github.com/techwithanirudh/discord-ai-bot/blob/main/CONTRIBUTING.md) | ||
|
|
||
| ### Additional Notes | ||
|
|
||
| <!-- Add any additional notes for reviewers --> | ||
| ### Description | ||
|
|
||
| <!-- Describe your changes in detail. What problem does this PR solve? --> | ||
|
|
||
| ### Type of Change | ||
|
|
||
| <!-- Put an 'x' in all boxes that apply --> | ||
|
|
||
| - [ ] Bug fix (non-breaking change which fixes an issue) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) Nit: use more formal wording 🧰 Tools🪛 LanguageTool[style] ~9-~9: Consider using a different verb for a more formal wording.
(FIX_RESOLVE) 🤖 Prompt for AI Agents |
||
| - [ ] New feature (non-breaking change which adds functionality) | ||
| - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
| - [ ] Refactor (non-breaking change that doesn't fix a bug or add a feature) | ||
| - [ ] Documentation update | ||
|
|
||
| ### Pre-flight Checklist | ||
|
|
||
| <!-- Put an 'x' in all boxes that apply --> | ||
|
|
||
| - [ ] Changes are limited to a single feature, bugfix or chore (split larger changes into separate PRs) | ||
| - [ ] `bun check` without any issues | ||
| - [ ] I have reviewed [contributor guidelines](https://github.com/techwithanirudh/discord-ai-bot/blob/main/CONTRIBUTING.md) | ||
|
|
||
| ### Additional Notes | ||
|
|
||
| <!-- Add any additional notes for reviewers --> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| eslint: | ||
| name: ESLint | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout branch | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup | ||
| uses: ./.github/actions/setup | ||
|
|
||
| - name: Run ESLint | ||
| run: bun lint | ||
|
|
||
| types: | ||
| name: TypeScript | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout branch | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup | ||
| uses: ./.github/actions/setup | ||
|
|
||
| - name: Run type check | ||
| run: bun typecheck | ||
|
|
||
| prettier: | ||
| name: Prettier | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout branch | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup | ||
| uses: ./.github/actions/setup | ||
|
|
||
| - name: Run Prettier | ||
| run: bun format:check | ||
|
|
||
| spelling: | ||
| name: Spelling | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout branch | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup | ||
| uses: ./.github/actions/setup | ||
|
|
||
| - name: Run spelling check | ||
| run: bun check:spelling |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick (assertive)
Normalize line endings to LF.
YAMLlint reports incorrect newline characters; ensure this file uses Unix (LF) line endings to comply with YAML standards.
🧰 Tools
🪛 YAMLlint (1.37.1)
[error] 1-1: wrong new line character: expected \n
(new-lines)
🤖 Prompt for AI Agents