carbowix / rockstar-newswire Goto Github PK
View Code? Open in Web Editor NEWBring Rockstar's newswire feed to your discord server.
License: MIT License
Bring Rockstar's newswire feed to your discord server.
License: MIT License
I am unsure where to put my Discord webhook URL in your code.
I've managed to get this working myself, however it seems that the database doesn't keep up with anything -- most likely a me thing though.
Using level 5.0.1
No indication of an error, there are ldb files in newswire
folder.
yo, i set the code up but i got an error and i don't know what to do. please help!
This is my console:
[READY] Started news feed for latest. Feed refreshes every 2 hours.
[CHECK] Checking for new articles for latest
HTTPError: Response code 404 (Not Found)
at Request.<anonymous> (E:\Github\azuma\node_modules\got\dist\source\as-promise\index.js:117:42)
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
code: undefined,
timings: {
start: 1615496918915,
socket: 1615496918922,
lookup: 1615496918939,
connect: 1615496918968,
secureConnect: 1615496919012,
upload: 1615496919012,
response: 1615496919552,
end: 1615496919554,
error: undefined,
abort: undefined,
phases: {
wait: 7,
dns: 17,
tcp: 29,
tls: 44,
request: 0,
firstByte: 540,
download: 2,
total: 639
}
}
}
(node:9252) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'body' of undefined
at E:\Github\azuma\features\newswire.js:97:41
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:9252) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:9252) [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.
Is this a bot open to the public or is there a video tutorial of how to set it up
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.