dbm-network / mods Goto Github PK
View Code? Open in Web Editor NEWUser-made modifications and improvements to Discord Bot Maker.
Home Page: https://dbm-network.github.io
License: MIT License
User-made modifications and improvements to Discord Bot Maker.
Home Page: https://dbm-network.github.io
License: MIT License
could we possibly update it to use gamedig query instead of the game-server-query as its not used anymore and apparently got DMCAed, Gamedig also has more games added
https://www.npmjs.com/package/gamedig
Every time I react with an emoji after the Await Reaction Call Action it just times out.
Redacted
In Console:
Error with Event "Edit Channel", Action #3: TypeError: this.getVoiceChannel is not a function
When bot creates a voice channel, where Category ID and User limit are already set it will first create voice channel without category with desired user limit, then it will remove user limit and move the channel to category.
Hello! When I want to run the project then say "There was an error". Anyone can help?
here's the log
[0213/134956.356:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0213/135120.888:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0213/135231.943:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0213/141811.690:ERROR:process_info.cc(349)] VirtualQueryEx: Acc�s refus�. (0x5) [0213/141811.691:ERROR:process_info.cc(570)] ReadMemoryInfo failed [0213/141811.693:ERROR:process_reader_win.cc(151)] SuspendThread: Acc�s refus�. (0x5) [0213/141811.693:ERROR:exception_snapshot_win.cc(87)] thread ID 14608 not found in process [0213/141811.693:WARNING:crash_report_exception_handler.cc(62)] ProcessSnapshotWin::Initialize failed [0213/141811.693:ERROR:scoped_process_suspend.cc(39)] NtResumeProcess: Tentative d�acc�s � un processus en cours d�arr�t. (0xc000010a) [0213/142200.561:ERROR:process_info.cc(349)] VirtualQueryEx: Acc�s refus�. (0x5) [0213/142200.562:ERROR:process_info.cc(570)] ReadMemoryInfo failed [0213/142200.562:ERROR:process_reader_win.cc(242)] ReadMemory at 0x799697c of 12 bytes failed: Seule une partie d�une requ�te ReadProcessMemory ou WriteProcessMemory a �t� effectu�e. (0x12B) [0213/142200.571:WARNING:process_snapshot_win.cc(71)] ReadMemory ExceptionInformation failed [0213/142200.571:WARNING:crash_report_exception_handler.cc(62)] ProcessSnapshotWin::Initialize failed [0213/142200.571:ERROR:scoped_process_suspend.cc(39)] NtResumeProcess: Tentative d�acc�s � un processus en cours d�arr�t. (0xc000010a) [0213/142225.047:ERROR:process_info.cc(349)] VirtualQueryEx: Acc�s refus�. (0x5) [0213/142225.047:ERROR:process_info.cc(570)] ReadMemoryInfo failed [0213/142225.050:ERROR:process_reader_win.cc(151)] SuspendThread: Acc�s refus�. (0x5) [0213/142225.050:ERROR:exception_snapshot_win.cc(87)] thread ID 12864 not found in process [0213/142225.050:WARNING:crash_report_exception_handler.cc(62)] ProcessSnapshotWin::Initialize failed [0213/142225.050:ERROR:scoped_process_suspend.cc(39)] NtResumeProcess: Tentative d�acc�s � un processus en cours d�arr�t. (0xc000010a) [0213/142228.845:ERROR:process_info.cc(349)] VirtualQueryEx: Acc�s refus�. (0x5) [0213/142228.845:ERROR:process_info.cc(570)] ReadMemoryInfo failed [0213/142228.845:ERROR:process_reader_win.cc(242)] ReadMemory at 0xd5697c of 12 bytes failed: Seule une partie d�une requ�te ReadProcessMemory ou WriteProcessMemory a �t� effectu�e. (0x12B) [0213/142228.846:WARNING:process_snapshot_win.cc(71)] ReadMemory ExceptionInformation failed [0213/142228.846:WARNING:crash_report_exception_handler.cc(62)] ProcessSnapshotWin::Initialize failed [0213/142228.846:ERROR:scoped_process_suspend.cc(39)] NtResumeProcess: Tentative d�acc�s � un processus en cours d�arr�t. (0xc000010a) [0213/142231.866:ERROR:process_info.cc(349)] VirtualQueryEx: Acc�s refus�. (0x5) [0213/142231.866:ERROR:process_info.cc(570)] ReadMemoryInfo failed [0213/142231.869:ERROR:process_reader_win.cc(151)] SuspendThread: Acc�s refus�. (0x5) [0213/142231.869:ERROR:exception_snapshot_win.cc(87)] thread ID 2084 not found in process [0213/142231.869:WARNING:crash_report_exception_handler.cc(62)] ProcessSnapshotWin::Initialize failed [0213/142231.869:ERROR:scoped_process_suspend.cc(39)] NtResumeProcess: Tentative d�acc�s � un processus en cours d�arr�t. (0xc000010a) [0728/173342.165:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/173651.715:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/174350.992:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/174509.794:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/174618.648:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/180547.164:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/181735.386:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/182812.905:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/184012.483:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/184230.247:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/184334.191:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/184624.677:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/184750.450:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/184755.409:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/184829.643:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/185201.419:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/185759.737:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/190054.895:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/220613.917:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/223032.219:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/223238.785:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/223447.617:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/223724.291:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/224149.820:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/224226.695:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/224610.333:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/224704.577:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/224753.764:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/224852.337:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/224949.845:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/234042.702:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/234221.291:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/235612.108:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/235654.165:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0728/235725.167:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0729/001621.547:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0729/001650.186:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0729/001836.882:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0729/002358.182:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0729/002441.528:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0729/002651.266:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0729/003345.952:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0729/010522.148:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0729/014900.870:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0729/014951.556:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0729/145100.728:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0731/224101.495:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0731/224202.051:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0731/224221.342:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0731/224240.069:WARNING:chrome_main_delegate.cc(569)] final extension: .js [0731/224608.271:WARNING:chrome_main_delegate.cc(569)] final extension: .js
Basically, If you want to stream a URL for music it still goes through dispatcher and after some time the bot crashes due to several things
first error is
this.playNext(id);
3|bot | ^
3|bot |
3|bot | TypeError: this.playNext is not a function
3|bot | at Object.<anonymous> (C:\Users\ToolsBox\Documents\Discord Bot Projects\Public Bots\RBv2\bot.js:1457:10)
3|bot | at StreamDispatcher.emit (events.js:189:13)
3|bot | at StreamDispatcher.destroy (C:\Users\ToolsBox\Documents\Discord Bot Projects\Public Bots\RBv2\node_modules\discord.js\src\client\voice\dispatcher\StreamDispatcher.js:300:30)
3|bot | at StreamDispatcher.process (C:\Users\ToolsBox\Documents\Discord Bot
3|bot | Projects\Public Bots\RBv2\node_modules\discord.js\src\client\voice\dispatcher\StreamDispatcher.js:249:12)
3|bot | at player.voiceConnection.voiceManager.client.setTimeout (C:\Users\ToolsBox\Documents\Discord Bot Projects\Public Bots\RBv2\node_modules\discord.js\src\client\voice\disp
3|bot | atcher\StreamDispatcher.js:247:77)
3|bot | at Timeout.setTimeout [as _onTimeout] (C:\Users\ToolsBox\Documents\Discord Bot Projects\Public Bots\RBv2\node_modules\discord.js\src\client\Client.js:422:7)
3|bot | at ontimeout (t
3|bot | imers.js:436:11)
3|bot | at tryOnTimeout (timers.js:300:5)
3|bot | at listOnTimeout (timers.js:263:5)
3|bot | at Timer.processTimers (timers.js:223:10)
But with this also.. I did have to rewrite it to stop this from happening but there should be a system to check if it is streaming a URL or using the Dispatch Queue system.. Basically a Simple If Statement.
Custom image effects mod by lasse has source image variable, but creating image from avatar or from url yields same result of "src must be a string or a Buffer"
(node:31115) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'blur' of undefined
at /home/john/discord/CISN/main/actions/custom_image_effects_MOD.js:155:11
at throwError (/home/john/discord/CISN/main/node_modules/jimp/index.js:85:44)
at /home/john/discord/CISN/main/node_modules/jimp/index.js:238:35
at new Promise (<anonymous>)
at Function.Jimp.read (/home/john/discord/CISN/main/node_modules/jimp/index.js:231:19)
at Object.action [as Custom Image Effects] (/home/john/discord/CISN/main/actions/custom_image_effects_MOD.js:151:7)
at Object.Actions.callNextAction (/home/john/discord/CISN/main/bot.js:493:18)
at Object.<anonymous> (/home/john/discord/CISN/main/actions/create_image.js:113:8)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
(node:31115) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:31115) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.```
When I try to use edit channel action this appears: Please update your edit_channel_MOD.js in your projects action folder!
I made a Weather command
i ran the comamnd
And Then the happen
↓ No Modules In Your File!!!!
Error: Cannot find module 'yahoo-weather'
at Function.Module._resolveFilename (module.js:509:15)
at Function.Module._load (module.js:456:25)
at Module.require (module.js:537:17)
at Object.WrexMODS.require (C:\Users\youar\Downloads\Discord.Bot.Maker\Discord.Bot.Maker\Discord Bot Maker\actions\aaa_wrexmods_dependencies_MOD.js:63:22)
at Object.action [as Weather] (C:\Users\youar\Downloads\Discord.Bot.Maker\Discord.Bot.Maker\Discord Bot Maker\actions\weather_MOD.js:219:28)
at Object.Actions.invokeActions (C:\Users\youar\Documents\新しいフォルダー (8)\サットリーン♪BOT\js\Actions.js:139:18)
at Object.Actions.preformActions (C:\Users\youar\Documents\新しいフォルダー (8)\サットリーン♪BOT\js\Actions.js:90:8)
at Object.Bot.checkCommand (C:\Users\youar\Documents\新しいフォルダー (8)\サットリーン♪BOT\js\Bot.js:107:21)
at Object.Bot.onMessage (C:\Users\youar\Documents\新しいフォルダー (8)\サットリーン♪BOT\js\Bot.js:90:13)
at emitOne (events.js:115:13)
I have a problem when it gives Create Invite actions when it gives to Defaul Channel this bot changes to Mentioned Channel
Store Message Params
return the digit after the prefix that correspond to the number? If I put 1 it returns the m
of the command !msg
If I type !msg Something | Other thing
It doesn't returns the Something
edit: it don't detect the |
but the \s+
works
In the beta version of version 1.7.8 is the audit log reason missing.
It's a known bug and I will add that later.
Hey always when i try to set the bots activity to watching or listening, it only shows "Playing".
What i am doing wrong?
When trying to set the channel in a category, this error appears:
typeerror: channel.setparent is not a function
Error:
DBM MODS (Node Module Installer v2.1) Attempting To Install Node Module: 'sequelize'. Please wait...
DBM MODS (Node Module Installer v2.1): Node Module 'sequelize' does not exist!
Command failed: npm install sequelize --loglevel=error --save
DBM MODS (Node Module Installer v2.1) Attempting To Install Node Module: 'mysql2'. Please wait...
DBM MODS (Node Module Installer v2.1): Node Module 'mysql2' does not exist!
Command failed: npm install mysql2 --loglevel=error --save
DBM MODS (Node Module Installer v2.1) Attempting To Install Node Module: 'pg-hstore'. Please wait...
DBM MODS (Node Module Installer v2.1): Node Module 'pg-hstore' does not exist!
Command failed: npm install pg-hstore --loglevel=error --save
DBM MODS (Node Module Installer v2.1) Attempting To Install Node Module: 'tedious'. Please wait...
DBM MODS (Node Module Installer v2.1): Node Module 'tedious' does not exist!
Command failed: npm install tedious --loglevel=error --save
DBM MODS (Node Module Installer v2.1) Attempting To Install Node Module: 'sqlite3'. Please wait...
DBM MODS (Node Module Installer v2.1): Node Module 'sqlite3' does not exist!
Command failed: npm install sqlite3 --loglevel=error --save
SQL Mod Error: Error: Cannot find module 'sequelize' at Function.Module._resolveFilename (module.js:509:15) at Function.Module._load (module.js:456:25) at Module.require (module.js:537:17) at require (internal/module.js:11:18) at Object.action [as Run SQL Query] (E:\Downloads\MegaSyncDownloads\Discord.Bot.Maker\Discord.Bot.Maker\Discord Bot Maker\actions\run_sql_query_MOD.js:495:31) at Object.Actions.invokeActions (E:\Documents\DiscordBots\Robounity Gen\js\Actions.js:139:18) at Object.Actions.preformActions (E:\Documents\DiscordBots\Robounity Gen\js\Actions.js:90:8) at Object.Bot.checkCommand (E:\Documents\DiscordBots\Robounity Gen\js\Bot.js:107:21) at Object.Bot.onMessage (E:\Documents\DiscordBots\Robounity Gen\js\Bot.js:90:13) at emitOne (events.js:115:13)
So when we use Store Member Info - Member voice channel in a command, it does the job. Will return the current user´s voice channel, or undefined if the user is not on a voice channel at this time.
The problem, wen I loop a list of members through an event that should store the member voice channel, once the list hits a member that is NOT on any voice channel, it will return the voice channel from the PREVIOUS member on the list, instead of undefined. Making it unusable.
As seen in this screenshot, the first time I execute the command, no users from the list are in a voicechannel until the last one, so everybody results in undefined.
The second time I execute the command, I added one user more to the list, which is in a voice channel, so him, and all the following users, report to be in the same voice channel.
https://cdn.discordapp.com/attachments/374961417016573962/614822889480257544/unknown.png
in this screen, the same thing with game info
image
Set Voice channel perms
TypeError: Cannot read property '0' of undefined
Playing music is completly broken. You either get an error that "lenght" is undefined, or it says this when you try to play a song:
(Here's the "lenght" error)
I tried to reinstall every node module (through dbm and independently) aswell through dbm. Also I started the bot always independently (going into the Project folder and opening cmd there or directing there with "cd" and then running 'node bot.js').
It wont work at all. I even tried to reinstall dbm and dbm mods, also installing dbm mods beta and updating all the mods manually.
Seems to be common to:
When I use RUN SQL QUERY in EVENT ex. On interval 5 seconds RUN SQL doing twice...
I installed the mod like I was instructed to. The new actions show up in Discord Bot Maker, but when I try to use the commands that I made with actions from the mod, those actions just get skipped.
d
Hi,
In all my all send embed to webhook i have this error:
Error with Event "Send Embed to Webhook", Action #15: TypeError: Cannot read property '637620004728209410' of undefined
Thanks for all people that help!
King Regards!
life is an issue lol
Not working. Seems to always return "undefined".
Here is the issue:
I use the Get Bot as Member with a variable of any name.
Then the Check Member Permission of the Get Bot as Member variable
And the bot, even if it does not have the permissions, goes beyond the Check Member Permission.
Hi,
I would like to use the "If Message Delivery Fails" parameter in "Send Embed Message" to check if it has been received in DM to a member but this function does not seem to work.
When I select "skip next action" (or another), it does not save.
That function work on the simple "send message".
Thanks !
Hey. I have a question...
Some users can use the web api without any problems, but some users needed to install more node_modules... Can you DM me (or comment here) if you’ve got the same problem? And please also write your version of DBM beta or non beta. Thanks!
Discord bot maker "There was an error":
If a channel category is null the store channel info: channel category name will stop and break the rest of the action sequence.
Bot is ready!
DBM MODS (Node Module Installer v2.1) Attempting To Install Node Module: 'google-it'. Please wait...
DBM MODS (Node Module Installer v2.1): Node Module 'google-it' does not exist!
Command failed: npm install google-it --loglevel=error --save
DBM MODS (Node Module Installer v2.1) Attempting To Install Node Module: 'google-it'. Please wait...
DBM MODS (Node Module Installer v2.1): Node Module 'google-it' does not exist!
Command failed: npm install google-it --loglevel=error --save
Error with Event "Google Search", Action #2: Error: Cannot find module 'google-it'
Can some one help? Problem is still there on beta
Hello so um... In my discord bot maker doesn't exist the action "Join voice channel"
This is the reason Edit Channel doesn't work with Voice Channels.
this.getChannel
is for Text Channels. To get Voice Channels you must use this.getVoiceChannel
(See bot.js line 713)
Maybe add a Field to choose if you want to edit a Text or a Voice Channel
i tried manually installing "youtube-search" because it wouldnt do it on its own. But for some reason when i run the command in the prompt, it gives me this-
C:\Users\User\InfoBot>npm install youtube-search
npm WARN [email protected] requires a peer of bufferutil@^3.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of erlpack@discordapp/erlpack but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of node-opus@^0.2.7 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of opusscript@^0.0.6 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of sodium@^2.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of libsodium-wrappers@^0.7.3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of uws@^9.14.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
what are the peer dependancies that i need to install myself? what am i doing wrong?
The join channel command under audio control is missing and in the logs it says:
DBM MODS (Node Module Installer v2.1) Attempting To Install Node Module: 'simple-youtube-api'. Please wait...
DBM MODS (Node Module Installer v2.1): Node Module 'simple-youtube-api' does not exist!
Command failed: npm install simple-youtube-api --loglevel=error --save
Error with Event "Play YouTube Playlist", Action #1: Error: Cannot find module 'simple-youtube-api
undefined:1
^
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Request._callback (C:\Users\Marceau\Desktop\papa\cleverbotot\node_modules\cleverbot.io\app.js:16:14)
at Request.self.callback (C:\Users\Marceau\Desktop\papa\cleverbotot\node_modules\request\request.js:186:22)
at Request.emit (events.js:189:13)
at Request. (C:\Users\Marceau\Desktop\papa\cleverbotot\node_modules\request\request.js:1163:10)
at Request.emit (events.js:189:13)
at IncomingMessage. (C:\Users\Marceau\Desktop\papa\cleverbotot\node_modules\request\request.js:1085:12)
at Object.onceWrapper (events.js:277:13)
at IncomingMessage.emit (events.js:194:15)
at endReadableNT (_stream_readable.js:1103:12)
Hello, i have a error in console:
Error with Event "Edit Channel", Action #6:
TypeError: Cannot read property 'edit' of null
On localhost (pc) working, but on vps not working.
When I use command to edit i get this log
Error with Event "Edit Channel", Action #3: TypeError: channel.edit is not a function
Hello, since the only method to contact you is thought here, i've been banned from your discord server for telling that i used cracked version. I'm feel bad and i tell sorry for that, so i buyed the Discord Bot Maker in Steam, i can send prints whatever, I just wanna stay in you Discord Server.
Kind Regards!
how do I exactly use the "add reaction" function I have been trying to use this for a long time. (a precise set of instructions would be great)
yep that's it.
If you use a variable in the Jump to field, the subtitle will show "Jump to Action #NaN.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.