malexion / rhythm-bot Goto Github PK
View Code? Open in Web Editor NEWQueue up and play youtube audio over discord voice.
License: MIT License
Queue up and play youtube audio over discord voice.
License: MIT License
Hi, i cant seem to see why the bot wont add any music. it will either say
Error adding track: Unknown Media Type! or
Error adding track: Error: This video is unavailable
The commands i have tried using is !add, !add youtube (url), !youtube.
please advise me. thanks
When I enter "npm start" in my cmd it says:
For help, see: https://nodejs.org/en/docs/inspector
Uncaught Promise Rejection Error [TOKEN_INVALID]: An invalid token was provided.
at Client.login (C:\Users\hudso\Desktop\Rhythm-Bot-master\node_modules\discord.js\src\client\Client.js:206:52)
at RhythmBot.connect (C:\Users\hudso\Desktop\Rhythm-Bot-master\node_modules\discord-bot-quickstart\lib\models\bot.model.js:77:28)
at C:\Users\hudso\Desktop\Rhythm-Bot-master\src\app.ts:31:13
at Generator.next ()
at C:\Users\hudso\Desktop\Rhythm-Bot-master\src\app.ts:8:71
at new Promise ()
at __awaiter (C:\Users\hudso\Desktop\Rhythm-Bot-master\src\app.ts:4:12)
at C:\Users\hudso\Desktop\Rhythm-Bot-master\src\app.ts:9:13
at Object. (C:\Users\hudso\Desktop\Rhythm-Bot-master\src\app.ts:38:3)
at Module._compile (internal/modules/cjs/loader.js:1085:14) {
[Symbol(code)]: 'TOKEN_INVALID'
The discord bot token is not wrong. I've tried multiple times with different regenerated tokens in the bot-config json file. I'm very new to this stuff so I may just be making a trivial mistake.
Hi,
Hoping you could help with this, whenever I run npm start, the bot starts correctly but always says "- Can Manage Messages: false" although the permission is granted in the server. Then running either !play or !add will cause the below error and the bot will crash. Using !help or !ping works correctly though.
I haven't done much with typescript before and only very lightly worked with discord bots, so sorry if this is a stupid question, but do you have any ideas on how to fix this?
Thanks!
Full log from console (nothing in bot.log):
> [email protected] start /home/django/django_project/rhythmbot/Rhythm-Bot-2.1.6
> tsc && node dist/app
[2021-09-14T20:51:59.570Z] (debug): Bot Online
Guilds: 1
Guild Name: BotTestArena
- Can Manage Messages: false
[2021-09-14T20:51:59.581Z] (debug): Rhythm Bot Online
[2021-09-14T21:01:09.174Z] (debug): Bot Command: !play https://www.youtube.com/watch?v=duakjBfCMG4
/home/django/django_project/rhythmbot/Rhythm-Bot-2.1.6/node_modules/discord-bot-quickstart/lib/models/bot.model.js:10
process.on('unhandledRejection', error => this.log.error('Uncaught Promise Rejection', error));
^
TypeError: Cannot read property 'error' of undefined
at process.on.error (/home/django/django_project/rhythmbot/Rhythm-Bot-2.1.6/node_modules/discord-bot-quickstart/lib/models/bot.model.js:10:52)
at process.emit (events.js:198:13)
at emitPromiseRejectionWarnings (internal/process/promises.js:140:18)
at process._tickCallback (internal/process/next_tick.js:69:34)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `tsc && node dist/app`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-09-14T21_01_09_527Z-debug.log
its not an issue, but spotify will be available soon? :D
Saving a playlist, then loading it, only answers with "Playlist Cleared"
Sir, I cant Get What you Are Saying. I Followed All The Steps Shown there But not Working Can You Send Me Te bot Files After Full Editing. I am getting so many errors in it plzz help
This normally wouldnt be a problem since most music videos have the song play right away but since gorillaz has some things before and after the song its weird and wacky
I use Docker and build the image myself. Since the latest commit (29a3dcc) I get the following error:
> [email protected] start:prod /home/rhythmbot
> NODE_ENV=production node --trace-warnings dist/app
[Error: SQLITE_CANTOPEN: unable to open database file] {
errno: 14,
code: 'SQLITE_CANTOPEN'
}
If if checkout the previous commit everything works.
I cloned the repo into the src
subfolder. This is my compose file:
version: '3'
services:
rhythm-bot-server:
container_name: rhythm-bot
build:
context: './src'
dockerfile: './Containerfile'
environment:
DISCORD_TOKEN: '(redacted)'
This is a minor thing, but this happens on every single server that I'm on where Rhythm is, people forget when they pause it.
If there could be a reminder message when people add stuff to the queue, they might remember to unpause the bot. Just a thought.
Hi, I'm trying to get this up and running,
I'm on Windows 10 with Python 2.7.14, Node.js LTS, and the Latest FFMPEG
I've made the token, and put it into the config, and I get the following error on launch;
Disconnected.
(node:5840) UnhandledPromiseRejectionRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Incorrect login details were provided.
(node:5840) [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.
What advice do you have?
I've been using Rhythm a lot lately and thought it would be cool if we can limit what channels Rhythm can communicate with, if you add a setting. This would help avoid bloating the General chat and have them use a "Bot-commands" chat instead or anything that the user chooses.
I'd love to contribute and add this feature myself.
I just wanted to get approval from this project owner.
Thanks!
How to run a bot on the Linux operating system (Debian, ubuntu or etc)
How can i make rythm respond to bots in the chat? Is there any command or something that i can do in my bot to make rythm respond to it?
The bot commands such as clear collide with other bots that provide this command.
I therefore propose a prefix to every command, or at least a prefix mode for backwards compatibility that can be enabled.
Bei mir geht der Bot zwar, es steht auch in der Konsole listening usw. aber er reagiert in Discord nicht?
When I add a song to queue it asks for type... I tried everything from youtube to all wikipedia media types and so on. It doesn't add songs
when i try to start the bot i get this error
λ npm start
[email protected] start C:\Users\bot
tsc && node dist/app
internal/modules/cjs/loader.js:1177
throw err;
^
SyntaxError: C:\Users\Bubby\bot\bot-config.json: Unexpected string in JSON at position 106
at JSON.parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1174:27)
at Module.load (internal/modules/cjs/loader.js:976:32)
at Function.Module._load (internal/modules/cjs/loader.js:884:14)
at Module.require (internal/modules/cjs/loader.js:1016:19)
at require (internal/modules/cjs/helpers.js:69:18)
at Object.exports.requireFile (C:\Users\Bubby\bot\dist\directory.js:14:12)
at Object. (C:\Users\Bubby\bot\dist\app.js:6:26)
at Module._compile (internal/modules/cjs/loader.js:1121:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1160:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: tsc && node dist/app
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
[2021-08-21T22:37:55.168Z] (debug): Bot Command: !search lofi
[2021-08-21T22:37:59.143Z] (debug): Emoji Click: Adding Media: https://youtube.com/watch?v=p2JHOJCuRds
[2021-08-21T22:38:05.383Z] (debug): Bot Command: !play
C:\Users\Dan\Desktop\Rhythm-Bot-2.1.6\node_modules\discord-bot-quickstart\lib\models\bot.model.js:10
process.on('unhandledRejection', error => this.log.error('Uncaught Promise Rejection', error));
^
TypeError: Cannot read property 'error' of undefined
at process. (C:\Users\Dan\Desktop\Rhythm-Bot-2.1.6\node_modules\discord-bot-quickstart\lib\models\bot.model.js:10:52)
at process.emit (events.js:314:20)
at processPromiseRejections (internal/process/promises.js:245:33)
at processTicksAndRejections (internal/process/task_queues.js:94:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: tsc && node dist/app
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Dan\AppData\Roaming\npm-cache_logs\2021-08-21T22_38_05_919Z-debug.log
Any songs that requires the 18+ age verification (being logged in), will cause an error message of 410 Gone.
A suggestion could be to add a feature to add YouTube credentials, or for a quick fix, improve the error message.
It will show in search results - and when adding it will say 'Error adding track: Error: Status code: 410'
I looking in all file but not found it.Could you help me?
Where are the contents from the zip file supposed to go? Do they go into a specific folder on your computer? I created a Rhythm-Bot-master folder inside my %username% folder and am trying to run npm start from there. All previous install steps appear to have completed successfully, but this is what I get when I run it:
c:\Users\Matt Zaharias\Rhythm-Bot-master>npm start
[email protected] start c:\Users\Matt Zaharias\Rhythm-Bot-master
tsc && node dist/app
src/bot/bot.ts:98:33 - error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
98 done();
~~~~~~
../AppData/Roaming/npm/node_modules/typescript/lib/lib.es2015.promise.d.ts:33:34
33 new (executor: (resolve: (value: T | PromiseLike) => void, reject: (reason?: any) => void) => void): Promise;
~~~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'value' was not provided.
src/bot/bot.ts:101:25 - error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
101 done();
~~~~~~
../AppData/Roaming/npm/node_modules/typescript/lib/lib.es2015.promise.d.ts:33:34
33 new (executor: (resolve: (value: T | PromiseLike) => void, reject: (reason?: any) => void) => void): Promise;
~~~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'value' was not provided.
Found 2 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: tsc && node dist/app
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Matt Zaharias\AppData\Roaming\npm-cache_logs\2021-01-07T01_26_04_597Z-debug.log
The log information follows:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]start: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]start: unsafe-perm in lifecycle truestart: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;c:\Users\Matt Zaharias\Rhythm-Bot-master\node_modules.bin;C:\Users\Matt Zaharias\AppData\Roaming\npm;C:\Program Files\nodejs;C:\Python39\Scripts;C:\Python39;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Android\android-sdk\tools;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\Program Files (x86)\QuickTime\QTSystem;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Common Files\Acronis\SnapAPI;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn;C:\Program Files (x86)\Google\Google Apps Migration;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\OpenVPN\bin;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\PowerShell\7;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\ProgramData\chocolatey\bin;C:\Program Files\nodejs;C:\Users\Matt Zaharias\AppData\Local\Microsoft\WindowsApps;C:\Users\Matt Zaharias\AppData\Roaming\npm
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]start: CWD: c:\Users\Matt Zaharias\Rhythm-Bot-masterstart: Args: [ '/d /s /c', 'tsc && node dist/app' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]start: Returned: code: 2 signal: nullstart: Failed to exec start script
12 info lifecycle [email protected]
13 verbose stack Error: [email protected] start: tsc && node dist/app
13 verbose stack Exit status 2
13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1048:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid [email protected]
15 verbose cwd c:\Users\Matt Zaharias\Rhythm-Bot-master
16 verbose Windows_NT 10.0.19042
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
18 verbose node v14.15.4
19 verbose npm v6.14.10
20 error code ELIFECYCLE
21 error errno 2
22 error [email protected] start: tsc && node dist/app
22 error Exit status 2
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]
There is no bot-config.json in the underlined folder.
music bot unable to join any voice channel
it says song added
but nothing happens when using !play
Is there a way to play Youtube playlists?
I use your bot almost daily on discord, but recently I was wondering if it would be possible to setup something similar specifically for the web. Would it be possible for me to fork your codebase to develop this?
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: tsc && node dist/app
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users`my name`\AppData\Roaming\npm-cache_logs\2021-08-30T01_45_51_614Z-debug.log
[2021-08-30T01_45_51_614Z-debug.log]
(https://github.com/Malexion/Rhythm-Bot/files/7073633/2021-08-30T01_45_51_614Z-debug.log)
Is that file
Not sure if this project is abandoned, but here goes, since an image was pushed 2 days ago; I'm using the latest docker image, and it fails with the following:
[email protected] start:prod /home/rhythmbot
NODE_ENV=production node --trace-warnings dist/app
== Migration20211031234554: migrating =======
/home/rhythmbot/migrations/Migration20211031234554.ts:1
import { Migration } from '@mikro-orm/migrations';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (internal/modules/cjs/loader.js:963:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Migrator.resolve (/home/rhythmbot/node_modules/@mikro-orm/migrations/Migrator.js:141:27) at Object.customResolver (/home/rhythmbot/node_modules/@mikro-orm/migrations/Migrator.js:43:44) at Migration.migration (/home/rhythmbot/node_modules/umzug/lib/migration.js:60:38) at /home/rhythmbot/node_modules/umzug/lib/migration.js:121:37 at Generator.next (<anonymous>) at asyncGeneratorStep (/home/rhythmbot/node_modules/umzug/lib/migration.js:9:103) at _next (/home/rhythmbot/node_modules/umzug/lib/migration.js:11:194) at /home/rhythmbot/node_modules/umzug/lib/migration.js:11:364 at new Promise (<anonymous>)
[email protected] start:prod /home/rhythmbot
NODE_ENV=production node --trace-warnings dist/app
== Migration20211031234554: migrating =======
/home/rhythmbot/migrations/Migration20211031234554.ts:1
import { Migration } from '@mikro-orm/migrations';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (internal/modules/cjs/loader.js:963:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Migrator.resolve (/home/rhythmbot/node_modules/@mikro-orm/migrations/Migrator.js:141:27) at Object.customResolver (/home/rhythmbot/node_modules/@mikro-orm/migrations/Migrator.js:43:44) at Migration.migration (/home/rhythmbot/node_modules/umzug/lib/migration.js:60:38) at /home/rhythmbot/node_modules/umzug/lib/migration.js:121:37 at Generator.next (<anonymous>) at asyncGeneratorStep (/home/rhythmbot/node_modules/umzug/lib/migration.js:9:103) at _next (/home/rhythmbot/node_modules/umzug/lib/migration.js:11:194) at /home/rhythmbot/node_modules/umzug/lib/migration.js:11:364 at new Promise (<anonymous>)
I followed all of the steps however the app will not run. How can I get it to run?
Error: Cannot find module 'node-opus'
Require stack:
Error: Cannot find module 'C:\Users\Desktop\bott\src\app.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:338:19)
at Function.Module._findPath (node:internal/modules/cjs/loader:551:18)
at resolveMainPath (node:internal/modules/run_main:16:25)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:70:24)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
path: 'C:\Users\\Desktop\bott\package.json',
requestPath: 'C:\Users\\Desktop\bott'
}
Seems to happen infrequently, maybe related to packet loss or some form of connection disruption?
This creates situations where the play command tries to play a youtube stream and that stream ends immediately as it is created.
Needs investigation as to why.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: tsc && node dist/app
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\FF7\AppData\Roaming\npm-cache_logs\2021-09-21T05_43_58_345Z-debug.log
nothing in documentation
Can You Tell Me Where I Need To Put The Token? It's Showing An invalid token was provided. But My Token Is Valid.
Attempting to run this with docker-compose.dev.yaml or using the provided image on github (ghcr.io/malexion/rhythm-bot/bot) provides the following errors. I also can't get this to work with npm install/run or the provided docker-compose.yaml(invalid docker file reference)
[email protected] start:prod /home/rhythmbot
NODE_ENV=production node --trace-warnings dist/app
[Error: SQLITE_CANTOPEN: unable to open database file] {
errno: 14,
code: 'SQLITE_CANTOPEN'
}
This is on a Debian 10 Google Cloud machine.
With the newest commit (29a3dcc) I get the following error:
> [email protected] start:prod /home/rhythmbot
> NODE_ENV=production node --trace-warnings dist/app
== Migration20211124182015: migrating =======
/home/rhythmbot/migrations/Migration20211124182015.ts:1
import { Migration } from '@mikro-orm/migrations';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Migrator.resolve (/home/rhythmbot/node_modules/@mikro-orm/migrations/Migrator.js:141:27)
at Object.customResolver (/home/rhythmbot/node_modules/@mikro-orm/migrations/Migrator.js:43:44)
at Migration.migration (/home/rhythmbot/node_modules/umzug/lib/migration.js:60:38)
at /home/rhythmbot/node_modules/umzug/lib/migration.js:121:37
at Generator.next (<anonymous>)
at asyncGeneratorStep (/home/rhythmbot/node_modules/umzug/lib/migration.js:9:103)
at _next (/home/rhythmbot/node_modules/umzug/lib/migration.js:11:194)
at /home/rhythmbot/node_modules/umzug/lib/migration.js:11:364
at new Promise (<anonymous>)
Every time I try to add a track, the bot just says "Error adding track: Error: Status code: 410" What does this error code mean?
Just got everything installed and set up, !search function works, but as soon as I select a song to play with the Like Emote, I get this:
C:\Windows\system32>npm start
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Windows\system32\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Windows\system32\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Plexbox\AppData\Roaming\npm-cache_logs\2021-02-28T01_12_11_516Z-debug.log
C:\Windows\system32>cd C:\Users\Plexbox\Documents\Rhythm-Bot-master
C:\Users\Plexbox\Documents\Rhythm-Bot-master>npm start
[email protected] start C:\Users\Plexbox\Documents\Rhythm-Bot-master
tsc && node dist/app
[2021-02-28T01:12:35.206Z] (debug): Rhythm Bot Online
[2021-02-28T01:12:35.217Z] (debug): Bot Online
Guilds: 1
Guild Name: Cthulhu Crisis
TypeError: Cannot read property 'error' of undefined
at process. (C:\Users\Plexbox\Documents\Rhythm-Bot-master\node_modules\discord-bot-quickstart\lib\models\bot.model.js:10:52)
at process.emit (events.js:315:20)
at processPromiseRejections (internal/process/promises.js:245:33)
at processTicksAndRejections (internal/process/task_queues.js:94:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: tsc && node dist/app
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Plexbox\AppData\Roaming\npm-cache_logs\2021-02-28T01_12_59_897Z-debug.log
Me: starts the bot
Me: -enqueue youtube:https://www.youtube.com/watch?v=dQw4w9WgXcQ
bot::heavy_plus_sign: Enqueued: "undefined" @ #1
Me: -join
bot joins
me: -play
bot crash
It says the bot isn't fully booted even when it is and it stops us from using some commands
Example
https://drive.google.com/file/d/1wFCUKCTrmuWzFPGCBUIViobTaltEjiVe/view?usp=drivesdk
(node:14736) 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: 14)
(node:13820) UnhandledPromiseRejectionWarning: Error: FFMPEG not found
(node:13820) 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: 2)
(node:13820) [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.
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.