Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Add a Keep-Alive functionality for Repl.it and Heroku #70

Open
thenewgessiko opened this issue Feb 16, 2022 · 11 comments
Open

Add a Keep-Alive functionality for Repl.it and Heroku #70

thenewgessiko opened this issue Feb 16, 2022 · 11 comments
Labels
Type: Feature Request This is a feature request.

Comments

@thenewgessiko
Copy link

Hi, bro i wanted to ask if your code "discord-music-24/7" if you can make it compatible on replit in 24/7 like tts bot ...

And if you can put the ability to play youtube playlists??

@thenewgessiko thenewgessiko added the Type: Feature Request This is a feature request. label Feb 16, 2022
@moonstar-x
Copy link
Owner

Hey, for the YouTube Playlist support, it is planned and there already is an issue realted to it: #36.

Once I update this to the latest discord.js 13 I will add the keep alive utiliy for Replit and Heroku just like the TTS bot has.

@moonstar-x moonstar-x changed the title Support YouTube playlist and 24/7 Compatibilty on Replit. Add a Keep-Alive functionality for Repl.it and Heroku Feb 17, 2022
@thenewgessiko
Copy link
Author

thenewgessiko commented Feb 18, 2022 via email

@thenewgessiko
Copy link
Author

thenewgessiko commented Mar 13, 2022 via email

@moonstar-x
Copy link
Owner

I will add the keep alive functionality once I get enough time to work on this.

As for Heroku, it won't be possible to add a "Deploy on Heroku" button because you technically need to add the music files or edit the queue file yourself. Which means that for this you would need to clone the repo, add the music yourself and then deploy your own clone of the repo into Heroku.

@thenewgessiko
Copy link
Author

thenewgessiko commented Mar 15, 2022 via email

@moonstar-x
Copy link
Owner

You should use the environment variables.

Inside the heroku dyno configuration, there's an option that says 'Reveal config vars', you should insert the environment variables that show up in tue README.

@thenewgessiko
Copy link
Author

thenewgessiko commented Mar 18, 2022 via email

@moonstar-x
Copy link
Owner

Are you sure you're monitoring the right URL? Did you set up your monitor every 5 minutes?

@thenewgessiko
Copy link
Author

thenewgessiko commented Mar 18, 2022 via email

@thenewgessiko
Copy link
Author

thenewgessiko commented Mar 18, 2022 via email

@moonstar-x
Copy link
Owner

Bacause 5 minutes is the least amount of time you can use for free.

Normally it should work, unless your keep alive doesn't work properly or you're not monitoring the correct URL.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature Request This is a feature request.
Projects
None yet
Development

No branches or pull requests

2 participants