How to Host your Discord Bot 24/7 🕠

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • How to Host your Discord Bot 24/7 🕠
    🌐 Important Links
    Cybrancee: cybrancee.com/... (Affiliate)
    My Discord server (giveaway will be announced here): discord.underc...
    Discord.js Tutorials: • Discord.js v14 Tutorial
    Patreon: / underctrl
    Buy me a coffee (one-time donation): buymeacoffee.c...
    Using affiliate links will support the channel as I may get a small commission of the purchase at no extra cost to you.
    Thanks for watching :)

ความคิดเห็น • 46

  • @lonely6350
    @lonely6350 ปีที่แล้ว +22

    yesterday I thought about how to put my bot on hosting, and now you have already released a video, thanks

  • @insypher
    @insypher ปีที่แล้ว +9

    Finally, the most awaited video! ♥

  • @immortalsun
    @immortalsun ปีที่แล้ว +5

    Even though this is a sponsor, I’m interested in trying their service. I don’t like how complex a VPS is.
    Thank you for this tutorial!

  • @hsrgang
    @hsrgang ปีที่แล้ว +1

    bro you are the absolute best!!! i hosted the bot and coded it all thanks to your help.

  • @SmallShorts0
    @SmallShorts0 ปีที่แล้ว +4

    Thanks! Good Video! ♥

  • @coolstuffunboxings1127
    @coolstuffunboxings1127 7 หลายเดือนก่อน +1

    Hey, my bot keeps on crashing. I watched your incredible video " Create a Chat GPT Bot in Discord (with GPT-4)" on how to create a bot on Visual Studio (used that code and method of implementation). Tried to launch it on this platform and not sure what to do. I'm getting an error with the OpenAPI key. Could you please guide me? Thank you.

  • @idklulw7085
    @idklulw7085 9 หลายเดือนก่อน +2

    how do you get the modules installed if we upload all the files ourselves?

  • @AnanyaChadha
    @AnanyaChadha 2 หลายเดือนก่อน

    so helpful, thank you!

  • @zyfodexe
    @zyfodexe หลายเดือนก่อน

    hello, can you do launch multiple bots ?

  • @kaiminn0531
    @kaiminn0531 ปีที่แล้ว +1

    Thanks! It works!❤❤

  • @famq7279
    @famq7279 หลายเดือนก่อน

    If your bot is connected to a database would it read the database/api?

  • @wolfy01
    @wolfy01 ปีที่แล้ว +1

    could you make a video for an error handler?

  • @shayansep755
    @shayansep755 7 หลายเดือนก่อน

    and what should we do with the json files ?? my bot constantly has to write on them and read from them...and i dont want to change my json structure because on heroku, i have to change the structure of the json files and for that i also have to change many codes

  • @imstraightyt
    @imstraightyt 6 หลายเดือนก่อน

    I have a replit project what to do bro pls tutorial

  • @BlackStrawberry1128
    @BlackStrawberry1128 ปีที่แล้ว +1

    Thanks soo much

  • @22coyi
    @22coyi ปีที่แล้ว

    I didnt get the email, telling me that i created an account, that means i dont have a password, how do i fix this?

  • @AlexG-e2v
    @AlexG-e2v 11 หลายเดือนก่อน

    Hi there, I just hosted my gpt-4 discord both with them, can you show how we can host multiple discord bots on one server?

  • @hatimo_official87
    @hatimo_official87 6 หลายเดือนก่อน

    thanks it work but i can modify the files or add new commands ??

  • @eliabbott4539
    @eliabbott4539 7 หลายเดือนก่อน

    I followed everything that you put on the video but my server is just crashing

  • @patrickkeenan4084
    @patrickkeenan4084 ปีที่แล้ว +1

    Does it have support for environment variables in your code for secrets management?

    • @UnderCtrl
      @UnderCtrl  ปีที่แล้ว

      For that you can create a .env file and save your env variables just like you would during development.

    • @patrickkeenan4084
      @patrickkeenan4084 ปีที่แล้ว

      @@UnderCtrl thanks! Prob won’t connect a GitHub repo then, don’t want to put that into source control

    • @UnderCtrl
      @UnderCtrl  ปีที่แล้ว

      @@patrickkeenan4084 You can use GitHub (I recommend using it). Just use a .gitignore file and add .env to it. This will ensure you have 2 separate .env files for production and development.
      The .gitignore will make sure the .env file from development is not pushed to GitHub and the .env in your production environment won't be changed when you're pulling any new changes.

  • @pieso7591
    @pieso7591 9 หลายเดือนก่อน

    do .env files stay private? and can you downgrade after the month that plan is way more than i need just now

  • @TimberChickenMafia
    @TimberChickenMafia 10 หลายเดือนก่อน

    Will the files in my panel update when i change/edit my code or will i have to re-upload everytime?

  • @sampreetkishan3170
    @sampreetkishan3170 ปีที่แล้ว

    I am trying to host a python bot. Now my problem is that I get this error while starting the bot.
    [Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
    Please kidnly help me out.
    [Pterodactyl Daemon]: Exit code: 0
    [Pterodactyl Daemon]: Out of memory: false
    [Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.

    • @UnderCtrl
      @UnderCtrl  ปีที่แล้ว +1

      Hi, this is something you can open a support ticket for: cybrancee.com/client/submitticket.php

    • @sampreetkishan3170
      @sampreetkishan3170 ปีที่แล้ว

      @@UnderCtrl alright, thanks.

  • @MrLAIF782
    @MrLAIF782 11 หลายเดือนก่อน

    Hello, I used my paypal account, if I wated to end the subscription, how would I do it?

  • @rbxcam7302
    @rbxcam7302 ปีที่แล้ว

    im getting alot of errors, like ``` throw err;
    ^
    Error: ENOENT: no such file or directory, scandir '/home/container/commands'
    at Object.readdirSync (node:fs:1543:3)
    at getFilePaths (/home/container/node_modules/djs-commander/dist/index.js:82:20)
    at buildCommandTree (/home/container/node_modules/djs-commander/dist/index.js:133:28)
    at CommandHandler._commandsInit (/home/container/node_modules/djs-commander/dist/index.js:292:20)
    at new CommandHandler (/home/container/node_modules/djs-commander/dist/index.js:280:12)
    at Object. (/home/container/index.js:16:1)
    at Module._compile (node:internal/modules/cjs/loader:1233:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12) {
    errno: -2,
    syscall: 'scandir',
    code: 'ENOENT',
    path: '/home/container/commands'
    }
    Node.js v20.5.1
    container@pterodactyl~ Server marked as offline...
    [Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
    [Pterodactyl Daemon]: Exit code: 1
    [Pterodactyl Daemon]: Out of memory: false
    [Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.```

  • @claudiuv91
    @claudiuv91 ปีที่แล้ว

    how many bots we can run with cybrancee ?

  • @KiwiBirdies
    @KiwiBirdies ปีที่แล้ว

    How do I install packages

  • @kizlo943
    @kizlo943 4 หลายเดือนก่อน

    very nice

  • @Vandan_am
    @Vandan_am 11 หลายเดือนก่อน

    Can we do it for telegram?

  • @diablo_is_here7508
    @diablo_is_here7508 ปีที่แล้ว

    that's only hosting for 30 days ? i don't want to pay bruh

  • @azarkar417
    @azarkar417 ปีที่แล้ว

    Can i host a discord bot on web hosting?

  • @thamanbh5266
    @thamanbh5266 ปีที่แล้ว

    Since this hosting for a limited amount of time, what do I do after the time gets over?
    Do you have to pay and is there no free way?

    • @UnderCtrl
      @UnderCtrl  ปีที่แล้ว

      Yes, the code gives you a free trial of the service for a month. After that you have to pay to continue using the service.

  • @notcardi
    @notcardi ปีที่แล้ว

    honestly it would be better off hosting it on smth like replit

    • @UnderCtrl
      @UnderCtrl  ปีที่แล้ว

      From what I’ve heard, uptime is very terrible on replit.

  • @LouieAlready
    @LouieAlready ปีที่แล้ว

    What about mobile😊😊

  • @phvdev04
    @phvdev04 ปีที่แล้ว

    IS THIS WORKING ?