fnbrjs / fnbr.js Goto Github PK
View Code? Open in Web Editor NEWA library to interact with Epic Games' Fortnite HTTP and XMPP services
Home Page: https://fnbr.js.org
License: MIT License
A library to interact with Epic Games' Fortnite HTTP and XMPP services
Home Page: https://fnbr.js.org
License: MIT License
Hey,
Is it possible to get someone's party presence whos not your friend? ( Ex: Lobby - 1/16 )
Thank you
Python's version of deviceAuth JSON uses snakecase for key names. E.g. https://github.com/xMistt/DeviceAuthGenerator. For compatibility’ sake, could you support those too?
The getBRStats function doesn't return divisions, searched but seems division is calculated by a complicated alogrithm, is there any way to get it directly?
Most endpoints don't work
\fnbr\src\Client\index.js:490
this.config.status = status;
^
TypeError: Cannot assign to read only property 'status' of object '#<Object>'
at Client.setStatus (C:\Users\Theo\Documents\Bots Discord\Bot CMaker\node_modules\fnbr\src\Client\index.js:490:26)
at EventEmitter.<anonymous> (C:\Users\Theo\Documents\Bots Discord\Bot CMaker\events\my\cmaker0fnbr.js:136:16)
at EventEmitter.emit (events.js:314:20)
at Timeout.eachSecond [as _onTimeout] (C:\Users\Theo\Documents\Bots Discord\Bot CMaker\node_modules\date-events\index.js:112:17)
at listOnTimeout (internal/timers.js:551:17)
at processTimers (internal/timers.js:494:7)```
It's just so you can remember. 👍
Hello, I was passing by and noticed that there is a file which is a copy-paste of async-queue with slightly different names and identical logic. The offending code can be seen below:
fnbr.js/src/util/AsyncQueue.ts
Lines 6 to 50 in 7b83474
Which is identical to the file of the aforementioned original source code.
Furthermore, this repository does not comply with the LICENSE requirements from sapphiredev/utilities
, which async-queue
inherits due to being part of it. This license in question is The MIT License, and can be seen here.
Under the MIT license, you have some conditions for the re-distribution of the work, which is to keep the license and copyright notice. However, none can be seen in this repository as of 7b83474, which is the last commit made to the moment of writing this issue.
You may resolve this issue by pasting a full copy of our aforementioned license and a copyright notice within the next 7 days. You can find a valid copyright notice below:
// MIT License | Copyright © `2020` `The Sapphire Community and its contributors`
As a side note, the original code is published under @sapphire/async-queue
in npm, so you do not need to keep a copy of the software here.
Code:
module.exports = async (client, discord, message) => {
await message.author.fetch();
if (message.author.displayName === client.user.displayName) return;
const args = message.content.slice(client.config.fortnite.prefix.length).split(/ +/);
const commandName = args.shift();
const command = client.commands.get(commandName) || client.commands.find(x => x.aliases?.includes(commandName));
if (!command) return;
command.run(message, args);
};
Error:
E:\NoriaFN New\node_modules\fnbr\dist\src\client\Client.js:404
query.forEach((q) => {
^
TypeError: Cannot read property 'forEach' of undefined
at FortniteClient.getProfile (E:\NoriaFN New\node_modules\fnbr\dist\src\client\Client.js:404:15)
at Friend.fetch (E:\NoriaFN New\node_modules\fnbr\dist\src\structures\User.js:56:40)
at module.exports (E:\NoriaFN New\src\noria\global\fortnite\events\friends\friend-message.js:2:26)
at FortniteClient.emit (node:events:394:28)
at FortniteClient.emit (E:\NoriaFN New\node_modules\fnbr\dist\src\client\Client.js:121:22)
at Client.<anonymous> (E:\NoriaFN New\node_modules\fnbr\dist\src\client\XMPP.js:193:29)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
STW News uses PRM Dialog Service (According to Lele)
STW Shop
• Rotational Event Store
• Special Event Store
STW Daily Rewards List
• Info about rewards on each specific day
Add a function to modify user presence
Client.user.setPresence(presencetypedef);
Presence typedefs:
This can be useful in cases that multiple bots are added to someone friends list so they aren't always at the top because it can be kinda annoying.
Hi, I created some code with this library, everything seems to work but I'm encountering a problem, when I try to equip a skin the bot recognizes the command but the skin are invisible
I know it has something to do with paths but I'm not very expert
so is there anything I can do?
something that i have to add to the code?
In the README.md file, In The Links Section There Seems To Be A Invalid Invite Link. Assuming It's To EpicGames App Development. You Can Fix It By Swapping The Old Invite with https://discord.gg/pqmUZf2bVf.
I see all the methods, but there is no listing for requirements for creating a client object, or information needed to do so...
Hey, can you publish the set Outfit command fix to the npmjs.com website?
***/project23/node_modules/fnbr/dist/src/structures/user/User.js:16 this._displayName = data.displayName;
^
TypeError: Cannot read properties of undefined (reading 'displayName')
at new User (//project23/node_modules/fnbr/dist/src/structures/user/User.js:16:34)
at BotClient.getProfile (//project23/node_modules/fnbr/dist/src/client/Client.js:436:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ClientUser.fetch (//project23/node_modules/fnbr/dist/src/structures/user/User.js:62:22)
at async BotClient.login (//project23/node_modules/fnbr/dist/src/client/Client.js:157:9)
at async BotClient.login (/***/project23/src/core/Client.js:59:23)
Im trying to set a party playlist but nothing was set. I dont know how to fix but if you have questions please ask.
The module name does not fully compliment the language that the module is written in. In fact, only 1% of the module is JavaScript, while the rest 99% is TypeScript.
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.