Skip to content

This is a discord bot, that has a lot of stuff in it like meme's, economy, admin, extra, etc.

Notifications You must be signed in to change notification settings

Sophan-Developer/ServerSMP-BOT

Repository files navigation

ServerSMP - BOT

This is a discord bot, that has a lot of stuff in it like meme's, economy, admin, extra, etc.

banner

Setup

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?

Local

  1. So start by downloading it, then extract it.
  2. Find the file names .env.schema then rename it to .env, then configure that.
  3. Open cmd and use cd to go to the directory.
  4. Then do npm i to install all the required stuff.
  5. After do npm start and the bot starts.

Heroku

This clone's the project to Heroku.

Deploy

Glitch (it is from Disc 11 by Zhycorp)

You can still use Glitch and keep it online in this project.

  1. Go to glitch.com and make an account
  2. Click New Project, and then Import from GitHub
  3. Please specify the field with https://github.com/Prince527GitHub/ServerSMP-BOT/, then wait for a while
  4. Find the file names .env.schema then rename it to .env, let's configure that
  5. Get your bot token at Discord developer portal then invite it to your server, and fill the bot prefix with anything you want
  6. Look at the file named .env.exsemple then fill the stuff that it needs in .env
  7. After that, go to Tools > Terminal type refresh
  8. Close Terminal tab, then open Tools > Logs, wait for a while
  9. 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!

Docker

This may work on docker, but idk how.

Replit (From Discord.py Music Bot)

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.

Pre-Setup

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!" Left panel

Then, click copy under token to get your bot's token. Your bot's icon can also be changed by uploading an image.

Bot token area

Setup

Look at the file .env.exsemple then copy the main stuff of that so like TOKEN, then follow this video by Imagine Gaming Play.

Uptime

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" Uptime robot example

Your bot should now be good to go, with near 100% uptime.

Invite

So ya I do host the bot if you want to invite it.

Invite Dashboard

About

This is a discord bot, that has a lot of stuff in it like meme's, economy, admin, extra, etc.

Resources

Stars

Watchers

Forks

Packages

No packages published