#Xblade4242

1 messages Β· Page 1 of 1 (latest)

desert bison
#

Eg:

I want to make a competitor to AWS. Can you help me code it?
Like Genie from Aladdin said ... be specific πŸ˜‰

desert bison
#

Seems like you're in the wrong Discord. Gotta learn A before you learn B.

molten pollen
rain wind
ocean herald
#

Rule 1 is basic JS knowledge.

We can't be here for every tiny question

#

Alright, making a bot is cool and all, but there are some prerequisites to it. To create a bot with discord.js, you should have a fairly decent grasp of JavaScript itself. While you can make a bot with very little JS and programming knowledge, trying to do so without understanding the language first will only hinder you. You may get stuck on many uncomplicated issues, struggle with solutions to incredibly easy problems, and all-in-all end up frustrated. Sounds pretty annoying.

https://discordjs.guide/#before-you-begin

ocean herald
molten pollen
#

Hmm

#

But How

ocean herald
molten pollen
ocean herald
molten pollen
ocean herald
molten pollen
#

πŸ™‚

ocean herald
molten pollen
ocean herald
ocean herald
#

But if I made the start for you, you would just fail to add to it.

molten pollen
#

24/7 Host Bot

molten pollen
#

Tell Me How Should I Create .env File At Replit On Node JS

ocean herald
#

Many people have voiced reasons not to use Replit, apparently it has a habit of getting bots rate limited due to reboots

#

And due to shared hosting so you get rated due to other bots

#

For now, Don't worry about hosting.
Worry about coding, you can do that off your PC

molten pollen
#

I Try To Change My Environment But I Can't

ocean herald
#

Just run the bot locally while you develop it

#

I havd my Live bot, and a Dev bot which I just run on my PC

molten pollen
ocean herald
#

I just run node src/bot.js and the bot boots up

molten pollen
ocean herald
#

In the terminal on your IDE

molten pollen
ocean herald
#

I'm saying come off the host.

#

Do it all on your PC first to get it all working

#

Then you deploy the code to the host when you have a change ready for live

#

Do you habe the code in a Repo e.g. GitHub?

molten pollen
ocean herald
#

Your code should live in the cloud

#

And be version controlled

molten pollen
#

So , I Will Go At Github

ocean herald
#

This is how professionals work

#

You "branch" off for a new geature, and bring it back in when ready

molten pollen
#

😦

ocean herald
#

DW much about it

#

You'll start with 1 branch and just work on that

#

In the future, you'll have it hosted so when you commit code, it re-deploys the bot

molten pollen
ocean herald
#

So a branch is like a folder...of code

#

Say I have my "main" folder

#

Now i want to stsrt a new feature, I take a copy of "Main" and call it Feature1

molten pollen
#

Learn how to code a Discord bot using Python and host it for free in the cloud using Repl.it.
🚨Note: At 16:43, Replit now has a new method for environment variables. Check the docs: https://docs.replit.com/programming-ide/storing-sensitive-information-environment-variables

Along the way, you will learn to use Repl.it's built-in database and cr...

β–Ά Play video
#

I Watch This Code

ocean herald
#

I can do whatever I want to this new branch until I am ready to bring it back to "main"

molten pollen
#

Learn how to code a Discord bot using JavaScript / Node.js and host it for free in the cloud using Repl.it. You will also learn to use Repl.it's built-in database.

🚨 At 13:44, Replit now has a new method for environment variables. Read what to do here: https://docs.replit.com/programming-ide/storing-sensitive-information-environment-variables

...

β–Ά Play video
ocean herald
#

If you're that new, i suggest JS over Python

molten pollen
#

This Is Too

molten pollen
ocean herald
#

Aso those are a year old, but they might help

molten pollen
#

You Can't Help Me?

ocean herald
#

Oh i could totally help you

#

But it would take vast amounts of my time.

#

I can help on occasion

molten pollen
ocean herald
#

But I won't hold your hand

molten pollen
molten pollen
ocean herald
#

πŸ‘

molten pollen
#

Accept My Friend Req I Will Talk With You Later

ocean herald
#

I declined it, but have sent u 1