Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
00b7498
Update invite link
OneAndOnlyFinbar Oct 21, 2023
a575b89
Create create_private_thread_MOD.js (#989)
Phyrok Nov 18, 2023
013d4fb
Add store_unix_timestamp_MOD.js (#1013)
Phyrok Dec 11, 2023
2c310f6
Store Message Info Improvements (#1018)
OneAndOnlyFinbar Dec 29, 2023
f63b239
Create get_current_timestamp_MOD.js (#1007)
ItzT0kyooFR Jan 4, 2024
0761b7e
Convert ISO8061 to Unix Timestamp (#1021)
Jan 28, 2024
a85a222
Fix typo in crosspost_message_MOD.js
OneAndOnlyFinbar Jan 29, 2024
1917437
Fix youtube_info_MOD.js (#1023)
GoodOne120 Feb 27, 2024
a7c7991
Fix For 'GameDig' - Store Game Info Mod (#1024)
Harley2787 Feb 27, 2024
3f6dcd0
Fix store_audit_log_info_MOD.js (#1025)
GoodOne120 Feb 27, 2024
effeebb
Create file_watcher_EVT.js (#1029)
ParallaxOnline Apr 6, 2024
89ddf24
Add Sticker
master3395 Apr 12, 2024
2bcc52c
Update store_message_info_MOD.js
master3395 Apr 12, 2024
9a384d1
Update store_message_info_MOD.js
master3395 Apr 12, 2024
fbf4bb9
Fix play_music_MOD.js (#1035)
GoodOne120 Apr 20, 2024
49e3b9c
Updated these (#1034)
thekingofspace Apr 20, 2024
bfea955
Merge branch 'master' into master
OneAndOnlyFinbar Apr 25, 2024
fbcd592
Added Json controls and Canvas update (#1038)
thekingofspace Jun 4, 2024
54934ba
Updated JSON actions and added new json action. (#1039)
thekingofspace Jun 6, 2024
16fda46
**Added Get_List_Length_MOD, Updated JSON things to be more clear** (…
thekingofspace Jun 6, 2024
4c091c6
Console Action Mods (#1041)
thekingofspace Jun 13, 2024
98f6e2d
Added encoder (#1042)
thekingofspace Jun 18, 2024
2c9a087
Updated read json due to object object error (#1043)
thekingofspace Jun 23, 2024
67242c8
Update store_message_info_MOD.js
master3395 Jun 28, 2024
11b2182
Update store_message_info_MOD.js
master3395 Jun 28, 2024
0c744b4
Update store_message_info_MOD.js
master3395 Jun 28, 2024
6024ea2
Merge branch 'dbm-network:master' into master
master3395 Jun 28, 2024
c63afa8
Update store_message_info_MOD.js
master3395 Jun 28, 2024
4a1c165
Update store_message_info_MOD.js
master3395 Jun 28, 2024
bea10a3
Update store_message_info_MOD.js
master3395 Jun 28, 2024
bef206a
Music fix (#1046)
GoodOne120 Jul 4, 2024
a4ea6bb
Merge branch 'dbm-network:master' into master
master3395 Jul 11, 2024
f220a83
Updated a few things! (#1047)
thekingofspace Jul 22, 2024
1e64968
Add cookies support (#1048)
GoodOne120 Jul 22, 2024
ee7cfe6
Delete extensions/aaa_extensionHelper_EXT directory (#1049)
OneAndOnlyFinbar Aug 12, 2024
f1dbf9a
Fix invite used event (#1050)
GoodOne120 Aug 18, 2024
654687d
add Object actions (#1052)
TCMine Sep 6, 2024
ce45401
Update Local Database mod (#1055)
TCMine Sep 26, 2024
5924cfa
Update store_bot_client_info_MOD.js (#1057)
TheMonDon Oct 27, 2024
53eeb77
Feature (other-stuff): New action to quickly upload images to imgur (…
nay-cat Dec 18, 2024
179b70b
Message delete event MOD (#1054)
GoodOne120 Dec 18, 2024
4d02b81
Update upload_image_to_imgur.js to use getMods() (#1060)
TheMonDon Jan 6, 2025
acb4f7c
Add version 2 to required node-fetch's (#1061)
TheMonDon Jan 19, 2025
93bc0d0
Update lint.yml
OneAndOnlyFinbar May 1, 2025
1171c4c
Remove outdated music mods (#1063)
TheMonDon May 1, 2025
a238c86
Merge branch 'master' into master
master3395 May 2, 2025
b7d339e
Update store_message_info_MOD.js
master3395 May 2, 2025
7cde7f3
Update store_message_info_MOD.js
master3395 May 2, 2025
1d48191
Add Sticker (#1032)
master3395 May 3, 2025
f4f11ca
Merge branch 'dbm-network:master' into master
master3395 Nov 2, 2025
4d2e737
Update README.md
master3395 Nov 8, 2025
74a8df3
Bump js-yaml in the npm_and_yarn group across 1 directory
dependabot[bot] Nov 15, 2025
dc6c970
Add Delete Emoji action
master3395 Nov 15, 2025
23960f0
Merge pull request #1 from master3395/dependabot/npm_and_yarn/npm_and…
master3395 Nov 15, 2025
0fcc0a8
Bump js-yaml in the npm_and_yarn group across 1 directory
dependabot[bot] Nov 15, 2025
2c2d831
Refactor and update multiple action files for improved functionality …
master3395 Nov 15, 2025
2166306
Merge pull request #2 from master3395/dependabot/npm_and_yarn/npm_and…
master3395 Nov 15, 2025
12424be
Fix README formatting by adding missing image tag for DBM Mods logo
master3395 Nov 15, 2025
2745e8f
Merge branch 'master' of https://github.com/master3395/dbm-mods
master3395 Nov 15, 2025
06ac1b7
Update ESLint configuration and refactor action files for consistency
master3395 Nov 15, 2025
0be971a
Sync mods from NT: actions, events, extensions, dashboard; discord.js…
master3395 Apr 10, 2026
9870f44
chore: ESLint/Prettier pass, expand lint:ts, CI lint:all
master3395 Apr 10, 2026
f5e021b
ci: drop Node 26 matrix; Prettier bot.js and dashboard JSON
master3395 Apr 10, 2026
262f154
ci: trigger lint workflow on bot.js changes
master3395 Apr 10, 2026
2534a76
ci: add Node 25 to lint matrix (Current line)
master3395 Apr 10, 2026
960a28a
Sync NT bot: TTS action, dashboard_EXT, deps, extension layout
master3395 Apr 12, 2026
19d0368
fix(ci): add @emnapi/core and @emnapi/runtime so npm ci matches lockfile
master3395 Apr 12, 2026
1282af1
docs(ui): clarify Set Server Time Restriction labels (guild-wide vs p…
master3395 Apr 12, 2026
9fdfe37
fix(actions): Control Permissions — safe source var, inherit array, U…
master3395 Apr 12, 2026
9621602
fix(actions): lenient HTML for Parse From Stored Webpage (dbm-network…
master3395 Apr 12, 2026
936840d
fix(ci): add lint scripts and devDependencies; format and satisfy ESLint
master3395 Apr 12, 2026
3443868
fix(ci): Prettier for bot/dashboard files; skip yt-dlp download on np…
master3395 Apr 12, 2026
0e90629
feat(actions): add Components V2 support to send actions
master3395 May 5, 2026
c64543d
fix(ci): make send actions ESLint-clean
master3395 May 5, 2026
f57f737
Fix Send Message MOD Settings tab layout and scrolling
master3395 Jun 1, 2026
8de0d83
Sync local action updates and fix ESLint across the actions folder.
master3395 Jun 1, 2026
14f3c37
fix(ci): ensure send_message_MOD.js passes ESLint on Node 22/24/25
master3395 Jun 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
91 changes: 88 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,106 @@
"$schema": "https://json.schemastore.org/eslintrc",
"env": {
"browser": true,
"node": true
"node": true,
"es2022": true
},
"parserOptions": {
"ecmaVersion": 2021
"ecmaVersion": 2022
},
"extends": "aqua/prettier/node",
"globals": {
"DBM": "readonly",
"DatabaseAuth": "readonly",
"Files": "readonly",
"Mods": "readonly"
},
"ignorePatterns": ["node_modules/*"],
"overrides": [
{
"files": ["*.ts"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"extends": ["plugin:@typescript-eslint/eslint-recommended", "prettier"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-use-before-define": "off",
"no-use-before-define": "off",
"no-unused-vars": "off",
"no-undef": "off",
"prettier/prettier": "off",
"spaced-comment": "off",
"prefer-template": "off",
"no-return-await": "off",
"no-else-return": "off",
"no-implicit-coercion": "off",
"no-case-declarations": "off",
"prefer-rest-params": "off",
"no-fallthrough": "off",
"prefer-const": "off",
"no-empty": "off",
"valid-jsdoc": "off",
"no-useless-escape": "off",
"prefer-spread": "off",
"one-var": "off",
"object-shorthand": "off",
"no-extra-boolean-cast": "off",
"func-names": "off",
"func-name-matching": "off",
"no-eval": "off",
"no-alert": "off",
"no-catch-shadow": "off",
"no-negated-condition": "off",
"no-useless-constructor": "off",
"prefer-destructuring": "off"
}
}
],
"rules": {
"func-name-matching": 0,
"func-names": 0,
"no-alert": 0,
"no-catch-shadow": 0,
"no-eval": 0,
"no-negated-condition": 0,
"no-useless-constructor": 0,
"prefer-destructuring": 0,
"prefer-rest-params": 0
"prefer-rest-params": 0,
"block-scoped-var": "off",
"no-redeclare": "off",
"no-var": "off",
"no-case-declarations": "off",
"consistent-this": "off",
"no-template-curly-in-string": "off",
"no-return-await": "off",
"no-eq-null": "off",
"no-use-before-define": [
"error",
{
"functions": false,
"classes": true,
"variables": true
}
],
"strict": "off",
"valid-jsdoc": "off",
"no-unused-vars": [
"error",
{
"args": "none",
"caughtErrors": "none",
"varsIgnorePattern": "^_"
}
]
}
}
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: DBM Network Discord server
url: https://discord.gg/3QxkZPK
url: https://discord.gg/djcvWRpgHm
about: Please use this Discord Server to ask questions and get support. We don't typically answer questions here and they will likely be closed and redirected to the Discord server.
24 changes: 18 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,38 @@ on:
- events
- extensions
- sharder
- bot.js
- bot.ts
- types.ts

jobs:
lint:
name: ESLint
name: ESLint (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# LTS (22, 24) plus Current line (25) from nodejs.org/dist/latest/. Node 26 omitted until setup-node lists it reliably.
node-version: [22, 24, 25]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
cache: npm
node-version: 16
node-version: ${{ matrix.node-version }}

- name: Install dependencies
env:
# Lint does not need yt-dlp; postinstall hits GitHub API and can fail on rate limits without auth.
YOUTUBE_DL_SKIP_DOWNLOAD: '1'
GITHUB_TOKEN: ${{ github.token }}
run: npm ci

- name: Run ESLint
run: npm run lint
- name: Run ESLint (JS + TS)
run: npm run lint:all

- name: Run Prettier
run: npm run prettier:check
46 changes: 43 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
.vscode
# AI ingest HMAC secret (copy from example)
api/ingest-config.local.php

# Secure configuration
config.php
config.php.backup

# Sensitive data
data/servers.json
data/settings.json
data/backups/
*.sqlite
*.db

# Node modules
node_modules/
extensions/*/node_modules/

# Logs
logs/
*.log

# OS files
.DS_Store
Thumbs.db

# IDE files
.vscode/
.idea/
node_modules
.history
*.swp
*.swo

# Backup directories
*-backups/
nt-backups/

# Environment files
.env
.env.local

config.secrets.json
extensions/dashboard_EXT/data/giveaways/settings.json

# ESLint cache
.eslintcache
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules
extensions/dashboard_EXT/actions/mods/send_embed_message/index.js
actions/edit_embed_object_MOD.js
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">
<a title="DBM Mods" href="https://discord.gg/djcvWRpgHm" target="_blank">
<img src="https://dl.dropboxusercontent.com/s/h1bscek2emoa1p2/mods-logo-dark.png" width="200" alt="DBM Mods" />
<img width="80" height="80" alt="DBM-Mods" src="https://github.com/user-attachments/assets/95f2a9da-e476-42f7-bb5b-4c0a9f0c71c7" />
</a>
</p>
<p align="center">
Expand All @@ -17,6 +17,25 @@

[DBM Mods](https://discord.gg/djcvWRpgHm) is a community driven open source project meant to modify, extend, and improve [Discord Bot Maker](https://store.steampowered.com/app/682130/Discord_Bot_Maker/).

## Compatibility

- **Node.js:** 22.x+ (`package.json` engines: `>=22 <27`; CI runs on **22**, **24** (LTS), and **25** (Current); Node **26** is omitted from CI until `actions/setup-node` provides it reliably)
- **DBM Versions:** 1.7, 2.2.0
- **Discord.js Version:** 14.26.2
- **Total Actions:** 515
- **Total Events:** 47
- **Total Extensions:** Includes dashboard, command info, server prefixes, topgg, pastebin, and more

### Dashboard leaderboard database (MySQL / MariaDB)

If you use the **dashboard** extension with the **leaderboard** feature, create the tables from [`sql/leveling_system_schema.sql`](sql/leveling_system_schema.sql):

1. Copy `sql/leveling_system_schema.sql` to your **DBM bot project root** (next to `bot.js`), keeping the path `sql/leveling_system_schema.sql`.
2. In `extensions/dashboard_EXT/config.json`, set `leaderboard.database` (`host`, `user`, `password`, `database`). Do not commit real credentials.
3. In the dashboard admin UI, use the leaderboard database setup (or run the SQL manually in MySQL).

This repository has been fully updated to support Discord.js v14.26.2 with all deprecated methods replaced (EmbedBuilder, ButtonBuilder, ActionRowBuilder, PermissionFlagsBits, etc.). All files are English-only and follow DBM best practices.

# Downloads

This repository is not meant to be downloaded or cloned. Please follow the installation guide below.
Expand Down
Loading
Loading