-
Notifications
You must be signed in to change notification settings - Fork 5
Bot stealth latest #21
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 all 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
be5cf38
5d87928
4512e58
6c00456
4e3c3bc
1aa2a14
3f5113a
f3ff46f
aae569b
97fe67b
e4f5ad0
20d0ad7
3dd4a02
de9be26
27b82fa
bebcf73
138d2bf
c967783
1e9a0d2
200ea0b
458ed30
9404e1c
db935f5
beec044
7c675c8
8eb2af2
eb03332
d76e44c
b536032
00ce6e2
a84a66c
641ba49
5a3ccb1
4e871a7
bb3ae73
5c68624
c58d75b
6d34e1c
09510a5
ee1bd50
6c2ab8a
bf8a358
aa9ed10
f86c2a7
95cf974
5bc603a
95b85b3
9d8d203
43d6944
56f6fc2
2bf46e6
1478770
e06efc1
829ae66
2c433b0
d3dfa45
d2c8a61
960c7b3
39aa61b
274706c
8a96357
110c982
f6fc38b
67ffb52
1875741
552f22d
784b797
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,44 @@ | ||
| { | ||
| "$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", | ||
| "imgork", | ||
| "dalle", | ||
| "dall", | ||
| "arcas", | ||
| "techwithanirudh", | ||
| "selfbot", | ||
| "shitposter", | ||
| "cynicist", | ||
| "autobotting", | ||
| "dotproduct", | ||
| "rerankinig", | ||
| "textembbeding", | ||
| "lefthook" | ||
| ] | ||
| } | ||
| 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 | ||||||||||
|
Comment on lines
+1
to
+2
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. Fix CRLF line-endings to satisfy yamllint -github: techwithanirudh\r
-buy_me_a_coffee: techwithanirudh\r
+github: techwithanirudh
+buy_me_a_coffee: techwithanirudh📝 Committable suggestion
Suggested change
🧰 Tools🪛 YAMLlint (1.37.1)[error] 1-1: wrong new line character: expected \n (new-lines) 🤖 Prompt for AI Agents |
||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,43 +1,42 @@ | ||
| 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 | ||
| 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 | ||
| 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 | ||
|
Comment on lines
+1
to
+42
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. YAML-lint failure caused by CRLF – convert file to LF. The CI hint shows -<CRLF line endings>
+<LF line endings>After conversion, rerun the pipeline to confirm the error disappears.
🧰 Tools🪛 YAMLlint (1.37.1)[error] 1-1: wrong new line character: expected \n (new-lines) 🤖 Prompt for AI Agents |
||
| 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) | ||
| - [ ] 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 --> |
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.
🛠️ Refactor suggestion
Dictionary contains obvious misspellings
Keeping typos in the “words” whitelist nullifies spell-checking:
•
rerankinig→reranking•
textembbeding→textembeddingPlease audit new entries before committing.
📝 Committable suggestion
🤖 Prompt for AI Agents