⚡ A person who is passionate about technologies, open-source, reverse engineering, convenience, etc.
- en-US / jp-JP
- Programmer / Developer
- Likes to collect stuff
✨ If you like my projects, you can buy me a coffee at:
A simple Twitter/X Bot that post new tweets to Discord
License: GNU Affero General Public License v3.0
Hello, I am wondering what the issue with this is. Here is the stack trace.
(node:1689) UnhandledPromiseRejectionWarning: Error: Cannot find module 'node:events'
Require stack:
- /home/ubuntu/DiscordTwitterBot/node_modules/discord.js/src/client/BaseClient.js
- /home/ubuntu/DiscordTwitterBot/node_modules/discord.js/src/index.js
- /home/ubuntu/DiscordTwitterBot/core/classes/command.js
- /home/ubuntu/DiscordTwitterBot/core/index.js
- /home/ubuntu/DiscordTwitterBot/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (/home/ubuntu/DiscordTwitterBot/node_modules/discord.js/src/client/BaseClient.js:3:22)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
The full error is:
Error: Cannot find module './db-access.js'
Require stack:
Node.js v18.16.0
This bot using mongo but I don't know how I create db-acces.js file with mongo parameters? Can you help me please?
For some reason the bot generates the embeds of twitter posts containing images wrong. The images in those embeds would display in wrong sizes.
example: https://imgur.com/a/C4mydm9
clicking on those images would show the full image preview thought.
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.