Categories > Coding > Javascript >

Can you host a JS bot on Firebase?

Moon

Moon

vip

Posts: 7441

Threads: 314

Joined: Aug, 2020

Reputation: 80

Posted

I was wondering if you can host a Discord bot on Google Firebase because I can't find any other free Discord Bot hosting services.

  • 0

Bones

deez nuts

Posts: 353

Threads: 10

Joined: Mar, 2021

Reputation: 11

Replied

I know this doesn't answer your question, but have you tried using repl.it and uptimerobot?

  • 0

Who's Deez?

Moon

Moon

vip

Posts: 7441

Threads: 314

Joined: Aug, 2020

Reputation: 80

Replied

@Bones

If you don't get pro, anybody can access your source code which means anybody can have access to the bot's token

  • 0

Bones

deez nuts

Posts: 353

Threads: 10

Joined: Mar, 2021

Reputation: 11

Replied

@Moon Not if you use dotenv

  • 0

Who's Deez?

Posts: 848

Threads: 72

Joined: May, 2020

Reputation: 9

Replied

@Moon Use heroku it's perfect for bots.

  • 0

Don't buy exploits its not worth it your gonna quit anyway

Taking accountability will help you excel in life

Bones

deez nuts

Posts: 353

Threads: 10

Joined: Mar, 2021

Reputation: 11

Replied

@ZaphireHacks Not recommended. You have 550h which equals roughly 22 days of Hosting time a Month.

  • 0

Who's Deez?

Moon

Moon

vip

Posts: 7441

Threads: 314

Joined: Aug, 2020

Reputation: 80

Replied

@ZaphireHacks

Not 24/7

  • 0

Posts: 848

Threads: 72

Joined: May, 2020

Reputation: 9

Replied

@Moon Odd it last me the whole month for me 

  • 0

Don't buy exploits its not worth it your gonna quit anyway

Taking accountability will help you excel in life

TaxiDriver08

JustMarie

Posts: 1547

Threads: 39

Joined: Dec, 2020

Reputation: 6

Replied

@Moon

It depends how efficent your bot is.

  • 0

JustMarie#0709

 

Moon

Moon

vip

Posts: 7441

Threads: 314

Joined: Aug, 2020

Reputation: 80

Replied

@TaxiDriver08

What does that mean?

  • 0

TaxiDriver08

JustMarie

Posts: 1547

Threads: 39

Joined: Dec, 2020

Reputation: 6

Replied

@Moon

basically how much cpu, ram and system resources it takes up, heroku calculates dyno hours off that

  • 0

JustMarie#0709

 

Moon

Moon

vip

Posts: 7441

Threads: 314

Joined: Aug, 2020

Reputation: 80

Replied

@TaxiDriver08

Definitely can't use Heroku

  • 0

Ducxy

Eclipse Cheats, LLC.

vip

Posts: 679

Threads: 103

Joined: Mar, 2019

Reputation: 37

Replied

@Moon

If you add a card to Heroku for verification, it gives you an extra 500 dyno hours which should last the whole month.

  • 0

Moon

Moon

vip

Posts: 7441

Threads: 314

Joined: Aug, 2020

Reputation: 80

Replied

@Ducxy

Doesn't Heroku have downtime?

  • 0

Ducxy

Eclipse Cheats, LLC.

vip

Posts: 679

Threads: 103

Joined: Mar, 2019

Reputation: 37

Replied

@Moon

no.

You just need to make sure to design your bot around not writing files while it's running.

Heroku has a temporary file system so if like any of your commands create files, they will be deleted at the end of the day

  • 0

Next >>>

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )