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

Upgrade all mods to dbm 2.2.0 with discord.js v14 (And deletions) #986

Open
wants to merge 70 commits into
base: beta_branch_2.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
767138a
Initial commit - Change version to 2.2.0
TheMonDon Jun 2, 2023
e82b047
Update image attachments
TheMonDon Jun 2, 2023
368b67f
create/edit to object and BitField suffix
TheMonDon Jun 2, 2023
2909e59
.deleted has been deleted, avatar change, missed init
TheMonDon Jun 2, 2023
5b02046
Merge branch 'dbm-network:master' into DBM-2.2.0
TheMonDon Jun 2, 2023
65bff86
Update create_permission_MOD.js
TheMonDon Jun 2, 2023
8b1f520
Merge branch 'DBM-2.2.0' of https://github.com/TheMonDon/mods into DB…
TheMonDon Jun 3, 2023
7b89ef3
Fix data
TheMonDon Jun 4, 2023
96700d2
Remove forum channel MOD, update clone channel
TheMonDon Jun 4, 2023
5dbe180
Merge branch 'dbm-network:master' into DBM-2.2.0
TheMonDon Jun 6, 2023
5c61b55
add try...catch to control music
TheMonDon Jun 9, 2023
703b61e
Fix color inputs inside html
TheMonDon Jun 9, 2023
fd5d2b9
Start updating music to v14
TheMonDon Jun 9, 2023
d8fb713
Remove Anchor Actions (Now default)
TheMonDon Jun 10, 2023
2c2a8c7
A lot of music for v14 fixes/updates
TheMonDon Jun 10, 2023
802e425
Replace store-in-variable with retrieve-from-variable
TheMonDon Jun 10, 2023
f8135a1
html fixes, check if member fix, music fix & new music actions
TheMonDon Jun 10, 2023
af9647f
Force rgb-hex to use 3.0.0
TheMonDon Jun 10, 2023
0e2ea2e
Music Updates/Fixes
TheMonDon Jun 11, 2023
a3b9393
Music Action Updates
TheMonDon Jun 12, 2023
7223e0b
Remove forum channel mod: new default action
TheMonDon Jun 12, 2023
db77a7d
Minor code changes
TheMonDon Jun 12, 2023
dd38249
Mod Section Changes
TheMonDon Jun 12, 2023
2a3fae9
Section changes & minor code changes
TheMonDon Jun 12, 2023
0ab73b8
Action HTML Fixes
TheMonDon Jun 13, 2023
c5412db
More HTML changes
TheMonDon Jun 14, 2023
ab6e9bb
Remove basic math operation
TheMonDon Jun 14, 2023
0b09273
Fix store queue info
TheMonDon Jun 14, 2023
955b141
More HTML Fixes/Changes
TheMonDon Jun 14, 2023
d675b7d
Update mods.json
TheMonDon Jun 15, 2023
9e3eae5
Use built in data deltion, rename globals.delData to .clearData
TheMonDon Jun 15, 2023
96da65c
Pushing latest HTML Fixes
TheMonDon Jun 15, 2023
d60b510
A lot more HTML changes
TheMonDon Jun 15, 2023
c2cedd5
Remove broken speedtest mod
TheMonDon Jun 15, 2023
d39d4e7
Minor updates to code/HTML
TheMonDon Jun 15, 2023
80f5337
Update docs
TheMonDon Jun 15, 2023
dead5db
Fix notes
TheMonDon Jun 15, 2023
bbd0165
Finishing touches of all mods
TheMonDon Jun 16, 2023
24d9fec
Fix varName in attach_image_to_embed
TheMonDon Jun 19, 2023
5ea0ccb
Added description option (from Ni)
TheMonDon Jun 20, 2023
a32dc5a
Action needs embed object not a message variable
TheMonDon Jun 20, 2023
7cffa20
Fix spelling
TheMonDon Jun 20, 2023
63c1746
HTML Updates
TheMonDon Jun 20, 2023
c9dd91f
Structures from the API cannot be edited directly
TheMonDon Jun 21, 2023
9c54b45
Fix convert text to list
TheMonDon Jun 21, 2023
b604530
Added convert color mod
TheMonDon Jun 23, 2023
beb5df5
Require node-fetch@2
TheMonDon Jun 24, 2023
370511c
Fix convert color mod
TheMonDon Jun 25, 2023
15d0dc6
Forgot to run prettier
TheMonDon Jun 25, 2023
1912ccb
Merge branch 'v2.2.0' into DBM-2.2.0
TheMonDon Jun 29, 2023
744d536
Fix merging error
TheMonDon Jun 29, 2023
c0a5e05
Call next action on error
TheMonDon Jun 29, 2023
bec056b
Update bot check
TheMonDon Jun 30, 2023
0094d71
Delete attach_image_to_embed_MOD.js
TheMonDon Jun 30, 2023
4f2df3c
Set `leaveVoiceTimeout` to be 10 if undefined
TheMonDon Jun 30, 2023
511eb6a
Fix html in store data list
TheMonDon Jul 2, 2023
6a79bdd
Update docs and remove broken extensionHelper
TheMonDon Jul 2, 2023
935d0aa
remove empty field
TheMonDon Jul 2, 2023
3e76abd
change msg to message
TheMonDon Jul 7, 2023
687d9f0
useMasterPlayer() hook is deprecated, use useMainPlayer() instead.
TheMonDon Jul 8, 2023
5dcad03
Merge branch 'master' into DBM-2.2.0
TheMonDon Jul 24, 2023
a500a0e
Merge branch 'master' into DBM-2.2.0
TheMonDon Jul 25, 2023
7293cfa
Fix problems caused by web browser commit
TheMonDon Jul 25, 2023
71d9c9b
Update control_music_MOD.js
TheMonDon Jul 25, 2023
360a3eb
Update to v13 mods repo & new additions
TheMonDon Oct 20, 2023
7729042
Fix control music bitrate
TheMonDon Oct 20, 2023
de5f007
Merge branch 'master' into DBM-2.2.0
TheMonDon Oct 20, 2023
8c65147
Dannos suggestion
TheMonDon Oct 20, 2023
96469ba
Merge branch 'DBM-2.2.0' of https://github.com/TheMonDon/mods into DB…
TheMonDon Oct 20, 2023
8890fd4
More allowNone
TheMonDon Oct 20, 2023
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
4 changes: 2 additions & 2 deletions actions/aaa_dbmmods_dependencies_MOD.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Mods = {
},
store(p, v) {
if (p) P.result[P.result.length] = P.resultType == 'PATH' ? P.asPath(p) : v;
return !!p;
return Boolean(p);
},
trace(expr, val, path) {
if (expr) {
Expand Down Expand Up @@ -196,7 +196,7 @@ module.exports = {
displayName: 'Dependencies',

meta: {
version: '2.1.7',
version: '2.2.0',
preciseCheck: false,
author: 'DBM Mods',
authorUrl: 'https://github.com/dbm-network/mods',
Expand Down
10 changes: 5 additions & 5 deletions actions/action_list_comment_MOD.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
name: 'Comment',
section: 'Other Stuff',
meta: {
version: '2.1.7',
version: '2.2.0',
preciseCheck: false,
author: 'DBM Mods',
authorUrl: 'https://github.com/dbm-network/mods',
Expand All @@ -17,10 +17,10 @@ module.exports = {

html() {
return `
<div style="float: left; width: 99%;">
<span class="dbminputlabel">Text Color</span>
<input type="color" id="color">
<br>
<div style="float: left;">
<span class="dbminputlabel">Text Color</span><br>
<input type="color" id="color" style="width: 30%;">
<br><br>

<span class="dbminputlabel">Comment To Show: (Supports some HTML Tags)</span>
<input id="comment" class="round" type="text"><br>
Expand Down
56 changes: 0 additions & 56 deletions actions/anchor_create_MOD.js

This file was deleted.

71 changes: 0 additions & 71 deletions actions/anchor_jump_MOD.js

This file was deleted.

74 changes: 0 additions & 74 deletions actions/attach_image_to_embed_MOD.js

This file was deleted.

2 changes: 1 addition & 1 deletion actions/auto_help_MOD.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
name: 'Auto Help',
section: 'Other Stuff',
meta: {
version: '2.1.7',
version: '2.2.0',
preciseCheck: false,
author: 'DBM Mods',
authorUrl: 'https://github.com/dbm-network/mods',
Expand Down
2 changes: 1 addition & 1 deletion actions/await_reaction_call_action_MOD.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
displayName: 'Await Reaction',
section: 'Messaging',
meta: {
version: '2.1.7',
version: '2.2.0',
preciseCheck: false,
author: 'DBM Mods',
authorUrl: 'https://github.com/dbm-network/mods',
Expand Down
2 changes: 1 addition & 1 deletion actions/await_response_call_action_MOD.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
displayName: 'Await Response',
section: 'Messaging',
meta: {
version: '2.1.7',
version: '2.2.0',
preciseCheck: false,
author: 'DBM Mods',
authorUrl: 'https://github.com/dbm-network/mods',
Expand Down
4 changes: 2 additions & 2 deletions actions/base_convert_MOD.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = {
name: 'Base Convert MOD',
displayName: 'Base Convert',
section: 'Other Stuff',
section: 'Conversions',
meta: {
version: '2.1.7',
version: '2.2.0',
preciseCheck: false,
author: 'DBM Mods',
authorUrl: 'https://github.com/dbm-network/mods',
Expand Down
85 changes: 0 additions & 85 deletions actions/basic_math_operation_MOD.js

This file was deleted.

8 changes: 5 additions & 3 deletions actions/botsfordiscord_stats_MOD.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
name: 'Send Stats to BFD',
section: 'Other Stuff',
section: 'Bot Stats',
meta: {
version: '2.1.7',
version: '2.2.0',
preciseCheck: false,
author: 'DBM Mods',
authorUrl: 'https://github.com/dbm-network/mods',
Expand Down Expand Up @@ -41,7 +41,9 @@ module.exports = {
const Mods = this.getMods();
const BFD = Mods.require('bfd-api');
const bfd = new BFD(token);
bfd.postCount(this.getDBM().Bot.bot.guilds.cache.size, this.getDBM().Bot.bot.user.id);

const client = this.getDBM().Bot.bot;
bfd.postCount(client.guilds.cache.size, client.user.id);
this.callNextAction(cache);
},

Expand Down
Loading
Loading