maseshi / shioru Goto Github PK
View Code? Open in Web Editor NEW๐งธ (Discord) Your personal assistant that will make your discord never lonely again.
Home Page: https://shiorus.web.app
License: MIT License
๐งธ (Discord) Your personal assistant that will make your discord never lonely again.
Home Page: https://shiorus.web.app
License: MIT License
(node:16592) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Remote monitoring is now available at http://localhost:3000/
[2022-11-11.11:42:6] :: Unhandled Rejection
Full Error:
Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
at WebSocketManager.createShards (F:\Document\Discord\Shioru\node_modules\discord.js\src\client\websocket\WebSocketManager.js:250:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Client.login (F:\Document\Discord\Shioru\node_modules\discord.js\src\client\Client.js:232:7) {
code: 'DisallowedIntents'
}
Promise {
<rejected> Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
at WebSocketManager.createShards (F:\Document\Discord\Shioru\node_modules\discord.js\src\client\websocket\WebSocketManager.js:250:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Client.login (F:\Document\Discord\Shioru\node_modules\discord.js\src\client\Client.js:232:7) {
code: 'DisallowedIntents'
}
}
Reason: Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
Promise: [object Promise]
Package: v3.1.0
Discord.js: v14.6.0
Node.js: v16.13.1
Cloud Firestore API issue after enabling it
Error Code
[2023-10-03T12:37:22.649Z] @firebase/firestore: Firestore (10.4.0): GrpcConnection RPC 'Write' stream 0x61b847fe error. Code: 5 Message: 5 NOT_FOUND:
C:\Users\Administrator\Desktop\Shioru>node ./source/shard.js
โโโโโโโโโโโ โโโโโโ โโโโโโโ โโโโโโโ โโโ โโโ v
โโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ 3
โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโ โโโ .
โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโ โโโ 6
โโโโโโโโโโโ โโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโ .
โโโโโโโโโโโ โโโโโโ โโโโโโโ โโโ โโโ โโโโโโโ 4
Copyright (C) 2020-2024 Chaiwat Suwannarat. All rights reserved.
Website: https://shiorus.web.app/, License: MIT & CC0-1.0
C:\Users\Administrator\Desktop\Shioru\node_modules\discord.js\src\util\Util.js:69
if (!token) throw new DiscordjsError(ErrorCodes.TokenMissing);
^
Error [TokenMissing]: Request to use token, but token was unavailable to the client.
at fetchRecommendedShardCount (C:\Users\Administrator\Desktop\Shioru\node_modules\discord.js\src\util\Util.js:69:21)
at ShardingManager.spawn (C:\Users\Administrator\Desktop\Shioru\node_modules\discord.js\src\sharding\ShardingManager.js:197:22)
at Object. (C:\Users\Administrator\Desktop\Shioru\source\shard.js:302:9)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49 {
code: 'TokenMissing'
}
[email protected] start
node ./source/shard.js
node:internal/modules/cjs/loader:1148
throw err;
^
Error: Cannot find module 'pino'
Require stack:
Tracking issue for:
[2022-10-29.13:15:45] :: Uncaught Exception Monitor
Full Error:
TypeError: Cannot read properties of undefined (reading '1044723283729330176')
at settingsData (D:\vobobeta\shioru\source\utils\databaseUtils.js:267:43)
at module.exports (D:\vobobeta\shioru\source\events\message\messageCreate.js:23:9)
at Client.emit (node:events:394:28)
at MessageCreateAction.handle (D:\vobobeta\shioru\node_modules\discord.js\src\client\actions\MessageCreate.js:28:14)
at Object.module.exports [as MESSAGE_CREATE] (D:\vobobeta\shioru\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (D:\vobobeta\shioru\node_modules\discord.js\src\client\websocket\WebSocketManager.js:352:31)
at WebSocketShard.onPacket (D:\vobobeta\shioru\node_modules\discord.js\src\client\websocket\WebSocketShard.js:480:22)
at WebSocketShard.onMessage (D:\vobobeta\shioru\node_modules\discord.js\src\client\websocket\WebSocketShard.js:320:10)
at callListener (D:\vobobeta\shioru\node_modules\ws\lib\event-target.js:290:14)
at WebSocket.onMessage (D:\vobobeta\shioru\node_modules\ws\lib\event-target.js:209:9)
uncaughtException
Error: TypeError: Cannot read properties of undefined (reading '1044723283729330176')
Origin: uncaughtException
Package: v3.1.0
Discord.js: v14.6.0
Node.js: v16.9.0
Some lines in .env like:
SERVER_LOGS_WEBHOOK - send the webhook when the bot joins a server
ISSUE_WEBHOOK - people will use /issue command with the bug and attachment (if possible) and the issue will send to the webhook
And some more webhooks like in this repo
Prettier is a code formatter that can help the project improving the DX and maintaining a code standard. It is a good option for open source projects and is very extensible allowing the use of plugins.
C:\Users\Administrator\Desktop\Shioru>node .
[15:18:32.051] INFO (shioru/8124): Checking configuration variables...
[15:18:32.053] WARN (shioru/8124): CONF: The openai.apiKey was not found in the environment.
[15:18:32.053] WARN (shioru/8124): CONF: The open_weather_token was not found in the environment.
[15:18:32.053] WARN (shioru/8124): CONF: The translation.baseURL was not found in the environment.
[15:18:32.054] ERROR (shioru/8124): An error was encountered while verifying the configuration.
err: {
"type": "Error",
"message": "CONF: API_KEY It needs to be set up in the environment.",
"stack":
Error: CONF: API_KEY It needs to be set up in the environment.
at Object. (C:\Users\Administrator\Desktop\Shioru\source\main.js:100:11)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49
}
[15:18:32.056] INFO (shioru/8124): Setting up the main system...
[15:18:32.246] INFO (shioru/8124): Loading language modules...
[15:18:32.468] INFO (shioru/8124): Adding data and handlers to the main system...
[15:18:32.477] INFO (shioru/8124): Loading all commands and events...
[15:18:32.481] INFO (shioru/8124): Verifying and loading all commands...
[15:18:33.502] INFO (shioru/8124): Verifying and loading all contexts...
[15:18:33.510] INFO (shioru/8124): Verifying and loading all events...
[15:18:33.635] INFO (shioru/8124): Connecting to the backend and logging in...
[15:18:33.643] FATAL (shioru/8124): Unhandled Rejection
usage: {
"cpu": "4.38%",
"memory": "51.47%/73.81%"
}
version: {
"package": "3.6.4",
"discord": "14.15.3",
"node": "v20.15.0"
}
[15:18:33.749] FATAL (shioru/8124): An invalid token was provided.
err: {
"type": "DiscordjsError",
"message": "An invalid token was provided.",
"stack":
Error [TokenInvalid]: An invalid token was provided.
at Client.login (C:\Users\Administrator\Desktop\Shioru\node_modules\discord.js\src\client\Client.js:216:52)
at Object. (C:\Users\Administrator\Desktop\Shioru\source\main.js:255:8)
at Module._compile (node:internal/modules/cjs/loader:1358:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49
"code": "TokenInvalid"
}
[15:18:33.756] FATAL (shioru/8124):
I don't understand what is %s in your project as I am new to this field and I am seeing it a lot in your code. As I searched through the files I am not ables see it as a variable or anything. If you can please tell me how does it work or anything.
/home/container/node_modules/distube/dist/index.js:2712
throw new DisTubeError("INVALID_KEY", sourceName, invalidKey);
^
DisTubeError [INVALID_KEY]: 'youtubeIdentityToken' does not need to be provided in DisTubeOptions
at checkInvalidKey (/home/container/node_modules/distube/dist/index.js:2712:11)
at new Options (/home/container/node_modules/distube/dist/index.js:1587:5)
at new DisTube (/home/container/node_modules/distube/dist/index.js:2790:20)
at Object. (/home/container/source/main.js:158:16)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47 {
errorCode: 'INVALID_KEY'
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.