Discord Bot Setup
-
Hello All!
I'm looking at trying to setup the Bastion Discord Bot. So from the looks of it, it can be run on Docker. Am I correct in assuming that the easiest way to get this up and running would to package it up as a Cloudron App using the Example provided by Cloudron?This would be my first adventure trying to package something up to use.
Thanks!
-
Hello All!
I'm looking at trying to setup the Bastion Discord Bot. So from the looks of it, it can be run on Docker. Am I correct in assuming that the easiest way to get this up and running would to package it up as a Cloudron App using the Example provided by Cloudron?This would be my first adventure trying to package something up to use.
Thanks!
@jlx89 Since the bot runs on Node you might be able to just spin up a LAMP stack app (which includes nodejs) and use the run.sh feature (RE: https://docs.cloudron.io/apps/lamp/#custom-startup-script) so you may not need to take the time to learn and then package a full app for this.
That said if you still would like to package an app for this for whatever reason I am more than happy to help!
-
@jlx89 Since the bot runs on Node you might be able to just spin up a LAMP stack app (which includes nodejs) and use the run.sh feature (RE: https://docs.cloudron.io/apps/lamp/#custom-startup-script) so you may not need to take the time to learn and then package a full app for this.
That said if you still would like to package an app for this for whatever reason I am more than happy to help!
-
Hello All!
I'm looking at trying to setup the Bastion Discord Bot. So from the looks of it, it can be run on Docker. Am I correct in assuming that the easiest way to get this up and running would to package it up as a Cloudron App using the Example provided by Cloudron?This would be my first adventure trying to package something up to use.
Thanks!
-
@JLX89 sorry for bringing up an older thread. But I stumbled across this and am looking for something exactly like this. Did you get any further with it, did it work with LAMP Stack?
-
@murgero wow I never thaught about that. We might be able to install other brigdes like mautrix-telegram as well inside the LAMP stack.
@subven Not sure if the LAMP app still supports it but I suspect it does. NodeJS, python, and PHP I believe LAMP can handle to at least some degree.
More advanced NodeJS apps will not work though - a basic bot like OP wanted would however so long as you run it with some time of supervisor like node-forever.
-
@subven Not sure if the LAMP app still supports it but I suspect it does. NodeJS, python, and PHP I believe LAMP can handle to at least some degree.
More advanced NodeJS apps will not work though - a basic bot like OP wanted would however so long as you run it with some time of supervisor like node-forever.
-
Since 7.2, you can also run a "service" using the cron section - https://docs.cloudron.io/apps/#cron .
So:
@service /usr/bin/node /app/data/nodeapp.js
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register Login