dotenv
discord.js
Our great sponsors
dotenv | discord.js | |
---|---|---|
219 | 149 | |
18,473 | 24,798 | |
- | 0.9% | |
9.0 | 9.7 | |
about 2 months ago | 4 days ago | |
JavaScript | TypeScript | |
BSD 2-clause "Simplified" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotenv
-
Tutorial: React + Emailjs
We will put our Emailjs environment variables in a dotenv (.env) file. To read more about the purpose of this file click here.
-
How to Use Environment Variables in Node.js
Add .env to your .gitignore file to prevent it from being committed. Here's an example file with it already added. You may also use dotenv for advanced configuration and it will automatically load environment variables from a .env file into process.env.
-
Extracting YouTube video data with OpenAI and LangChain
dotenv: Designed to load environment variables from a .env file into the process.env environment
-
Top Secrets Management Tools for 2024
Like Doppler, Infisical uses environment variable injection. Similar to the Dotenv package for Node, when used in Node, it injects them at run time into the process object of the running app so they're not readable by any other processes or users. They can still be revealed by a crash dump or logging, so that is a caveat to consider in your code and build scripts.
- AI for Web Devs: Your First API Request to OpenAI
-
An intro to Appwrite | Building a To-do list with SvelteKit
We'll be working with databases' ids and different info that should be secured so I would advise you to create a .env file to store said info. We'll do this by installing dotenv into our project and use it accordingly:
-
Building and deploying AI agents with E2B
dotenv - For reading our API keys from the environment
-
A decade of dotenv
As an avid dotenv user I wanted to thank their maintainers for keeping the project alive for 10 years (wow). A perfect exemplary of dedication to Open Source.
-
Automate Your Way to Faster Deployments: CI/CD for MERN Apps
Sensitive data like database URLs, API keys, and passwords should never be hardcoded in your application code. Instead, use environment variables accessed at runtime to keep this information secret. Popular dotenv libraries like dotenv make this easy for Node.js apps.
- Servidor para Blog, com AutenticaĆ§Ć£o JWT - Node.Js & Mysql
discord.js
-
Build a Discord Bot with Discord.js V14: A Step-by-Step Guide
Now that you've installed Node.js and know how to open your console and run commands, you can finally install discord.js!
-
Now Live: Free Dedicated Discord Bot Hosting on RoboPlay (Read for Invites Codes)
We're beyond excited to unveil RoboPlay! It's not just another hosting service; it's a next-gen platform tailored for Discord.js bots, especially those powered by the Robo.js framework.
-
Introducing the Moderation Tools Plugin for Robo.js
Context: Robo.js is a framework designed for creating Discord.js bots with ease and best practices by default. Plugins extend your bot's features right away!
-
Need help (again)
Note the video is 2 years old. Discord.JS is constantly changing alongside the Discord API. This is why you should follow official and up to date guides and not just copy paste off of youtube: https://discord.js.org/
-
Is there a way to identify super reactions?
The feature is not yet supported, but you can check the pull request for the feature here
-
How much knowledge in coding do i need to be able to create own discord bots?
Well, I recommend you JavaScript, it is good for beginners and there's a lot of content on internet. Once you understand and practice the basics, you can use discord.js to write your bots. They have a guide website if you are interested.
-
Bot to send messages/auto messages as another user? For an RP server.
You can (with some effort) create your own bot using a library like Discord.js to use webhooks easier.
-
Version
I want to dive into discord bot things but I was confused when I saw 2 sites of discordjs. There is https://discord.js.org/ and https://old.discordjs.dev/#/. Is the old one is no more supported? Which one to use? I couldn't understand the difference between them.
- Could you please suggest some Next.js project source codes, preferably v12 or fewer, that I can use to learn from?
-
Kenku FM stops playing audio every minute, and I have to move it from vc for it to resume
The GitHub issue that someone raised in the library can be found here: https://github.com/discordjs/discord.js/issues/9185
What are some alternatives?
cross-env
discord.py - An API wrapper for Discord written in Python.
multiline
JDA - Java wrapper for the popular chat & VOIP service: Discord https://discord.com
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
eris - A NodeJS Discord library
hardhat-deploy - hardhat deployment plugin
BestBuy-GPU-Bot - BestBuy Bot is an Add to cart and Auto Checkout Bot. This auto buying bot can search the item repeatedly on the ITEM page using one keyword. Once the desired item is available it can add to cart and checkout very fast. This auto purchasing BestBuy Bot can work on Firefox Browser so it can run in all Operating Systems. It can run for multiple items simultaneously.
fastify - Fast and low overhead web framework, for Node.js
discord-voice-recorder - A nifty script that can pipe out audio from a discord voice channel to your local storage. A discord voice recorder!
Visual Studio Code - Public documentation for Visual Studio Code
guide - The official guide for discord.js, created and maintained by core members of its community.