-
Notifications
You must be signed in to change notification settings - Fork 5
Bot stealth #20
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?
Bot stealth #20
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
285f717
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 |
---|---|---|
|
@@ -6,4 +6,9 @@ indent_size = 2 | |
end_of_line = crlf | ||
charset = utf-8 | ||
trim_trailing_whitespace = false | ||
insert_final_newline = true | ||
quote_type = single | ||
|
||
[*.md] | ||
trim_trailing_whitespace = true | ||
Comment on lines
+9
to
+13
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) Non-standard
Likewise, the 🤖 Prompt for AI Agents
|
||
insert_final_newline = false |
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" | ||||||||||||||||||||||||||||
], | ||||||||||||||||||||||||||||
Comment on lines
+6
to
+12
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)
If Prettier is no longer part of the tool-chain, keeping the config in ESLint adds an unnecessary peer-dependency and runtime install step. Consider deleting the entry or restoring Prettier. - "plugin:import-x/typescript",
- "prettier"
+ "plugin:import-x/typescript" 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||
"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. 🧹 Nitpick (assertive) Line-ending mismatch violates repo style YAMLlint warns about -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 |
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? --> | ||||||||||||||||||
Comment on lines
+1
to
+3
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) Add a top-level H1 to satisfy markdownlint MD041 markdownlint flags the absence of a first-line heading. A minimal fix keeps the template valid without changing wording: -### Description
+# Pull Request Template
+
+### Description 📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.17.2)1-1: First line in a file should be a top-level heading (MD041, first-line-heading, first-line-h1) 🤖 Prompt for AI Agents
|
||||||||||||||||||
|
||||||||||||||||||
### 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.
Fix typos in custom dictionary entries
rerankinig
andtextembbeding
are misspelled, defeating the purpose of adding them to the spell-checker dictionary.📝 Committable suggestion
🤖 Prompt for AI Agents