This is a discord bot, that has a lot of stuff in it like meme's, economy, admin, extra, etc.
The bot has setup for Local
, Heroku
, Glitch
, Replit
and maybe Docker
. But also I do host the bot if you want to Invite
it?
- So start by downloading it, then extract it.
- Find the file names
.env.schema
then rename it to.env
, then configure that. - Open cmd and use
cd
to go to the directory. - Then do
npm i
to install all the required stuff. - After do
npm start
and the bot starts.
This clone's the project to Heroku.
You can still use Glitch and keep it online in this project.
- Go to glitch.com and make an account
- Click New Project, and then Import from GitHub
- Please specify the field with
https://github.com/Prince527GitHub/ServerSMP-BOT/
, then wait for a while - Find the file names
.env.schema
then rename it to.env
, let's configure that - Get your bot token at Discord developer portal then invite it to your server, and fill the bot prefix with anything you want
- Look at the file named
.env.exsemple
then fill the stuff that it needs in.env
- After that, go to Tools > Terminal type
refresh
- Close Terminal tab, then open Tools > Logs, wait for a while
- The bot should start a website copy it, then to make it stay online, please watch this video carefully.
Your bot is online, and ready to use!
This may work on docker, but idk how.
So just so you know this bot is more then 500MB, so you need the hacker plan on replit to use this bot on there.
If you don't already have a discord bot, click here, accept any prompts then click "New Application" at the top right of the screen. Enter the name of your bot then click accept. Click on Bot from the panel from the left, then click "Add Bot." When the prompt appears, click "Yes, do it!"
Then, click copy under token to get your bot's token. Your bot's icon can also be changed by uploading an image.
Look at the file .env.exsemple
then copy the main stuff of that so like TOKEN
, then follow this video by Imagine Gaming Play.
All you have to do to keep your bot up is setup something to ping the site your bot made every 5 minutes or so.
Go to uptimerobot.com and create an accout if you dont have one. After verifying your account, click "Add New Monitor".
- For Monitor Type select "HTTP(s)"
- In Friendly Name put the name of your bot
- For your url, put the url of the website made for your repl.
- Select any alert contacts you want, then click "Create Monitor"
Your bot should now be good to go, with near 100% uptime.
So ya I do host the bot if you want to invite it.