Skip to content
This repository was archived by the owner on Sep 24, 2022. It is now read-only.

ServerSMP BOT v13

Prince527 edited this page Jan 30, 2022 · 11 revisions

This Github wiki for the bot is depricated, for the new repo go here

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. But because you paid you can just change a setting to allways run the replit.

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

Config

TOKEN

Your Discord bot's token. (options: your-bots-token) Link

PREFIX

Your bot's prefix. (options: your-bots-prefix) Link

MONGO

Your mongodb url. (options: your-mongodb-url) Link

PORT

Port for the webserver. (options: port) Link

DISTOKEN

Your disbot token. (options: your-disbot-token, false) Link

OWNER

Owners ids, you can have more then one. (options: discord-user-ids) Link

STATUS TYPE

What type of status does the bot use? (options: playing, listening, or watching) Link

STATUS

What status does the bot display. (options: what-ever-you-want) (available variables: {guildsCount}, {usersCount}, {botPrefix} and {channelsCount}) Link

OSU API

Your osu api key. (options: your-osu-key, false) Link

REPORT

How you want reports to be sent. (options: [ { USER, SERVER }, { user-id, channel-id } ] ) Link

FORTNITE TRACKER

Your fortnite tracker api key. (options: your-api-key, false) Link

Config Exsemple

TOKEN=Njk1NjY0ODU4NDA1Nzk3ODg4.dQw4w9WgXcQ.TmV2ZXIgZ29ubmEgZ2l2ZSB5b3UgdXA
# Your Discord bot's token (options: your-bots-token)

PREFIX=-
# Your bot's prefix (options: your-bots-prefix)

MONGO=mongodb+srv://Useranme:Passwword@Database.glgvl.mongodb.net/Data
# Your mongodb url (options: your-mongodb-url)

PORT=8080
# Port for the webserver (options: port)

DISTOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Your disbot token (options: your-disbot-token, false)

OWNER=364105797162237952, 424269868209143808, 488363709992009728
# Owners ids, you can have more then one. (options: discord-user-ids)

STATUS_TYPE=watching
# What type of status does the bot use? (options: playing, listening, or watching)

STATUS=DiamondGolurk on youtube.com
# What status does the bot display (options: what-ever-you-want) (available variables: {guildsCount}, {usersCount} and {channelsCount})

OSU_API=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Your osu api key (options: your-osu-key, false)

REPORT=USER, 364105797162237952
# How you want reports to be sent (options: [ { USER, SERVER }, { user-id, channel-id } ] )

FORTNITE_TRACKER=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
# Your fortnite tracker api key (options: your-api-key, false)

Config Schema

TOKEN=
PREFIX=
MONGO=
PORT=
DISTOKEN=
OWNER=
STATUS_TYPE=
STATUS=
OSU_API=
REPORT=
FORTNITE_TRACKER=
CHAT_BOT=

Replit

Commands

Command Name Usage Description
backupcreate no usage Create a backup of you're server.
backupdelete [backupID] Delete a backup.
backupinfos [backupID] Get info on the backup.
backupload [backupID] Load the backup of you're server.
cc-create [name] [what it do] Create custom commands!
cc-delete [name of command] Delete custom commands!
cc-list no usage List the custom commands!
bal no usage Show your bal!
daily no usage Daily money!
donate [@user] [money] Give money to users!
work no usage Work to get money!
8ball [ text ] Yep just a 8ball command
afk [reason] Make a afk message, so when a player mention you it will say you are afk and when you type a message your afk is done.
ascii [ text ] Change your text to ascii art.
calculator no usage Use a calculator in discord.
color no usage Generate a random color.
dice no usage Roll a six-sided die.
embed-create no usage Create embeds!
emojify [ text ] Emojify some text of your choice.
fumo no usage Sends fumo
github <Name> Github User Account Information!
image [search] Search google images on discord.
instagram [ name ] no description
moji no usage A random unicode emoji.
password [1-100] Generate random passworld from 1 - 100 and sends it in DMs.
poll [#channel] [what is the poll] Admins can make polls.
reddit [ subreddit name ] Get info on a subreddit!
steal [emoji] [emoji] [emoji] [emoji] [emoji] Take emojis from other servers and add them to your server.
steam <Game Name> Searches Steam for games!
wikipedia [serch] Serch stuff on wikipedia!
coinflip no usage Flips a coin and randomly generates either heads or tails.
connectfour [@user] Play connectfour in discord against another user.
fortnite-stats [username] Fortnite user stats.
no command name no usage The classic hangman game in discord.
osu-user [ username ] Get's info on a osu user! (not the best command.)
pokemon no usage Show's a image of a pokemon and you guess what is it's name.
rockpaperscissors [@user] Play rps in discord.
snake no usage You can play snake on discord.
tictactoe [@user] Play tictactoe against another user.
trivia no usage Play a trivia game in discord.
avatar [none | id | mention] Returns users avatar
credit no usage Credit to the people that help this project.
help no usage List all the commands.
info no usage Give's some info on the bot.
no command name [@user] Get the possiton of join player.
memberinfo [@user (or not)] Show's info of you or mention user.
ping no usage Returns latency and API ping
server no usage Give's info on the server that you are on.
update [ current | latest ] The patch notes for this update.
badapple no usage Play's a gif of bad apple.
biden-tweet [text] Yep, you are sending a biden tweet.
cat no usage A random image of a cat.
deep-quotes no usage A kinda random deep quote.
delete no usage Give's a image of you getting deleted
dog no usage A random image of a dog.
duck no usage A random image of a duck.
joke no usage Get's a random joke.
lisapresentation no usage Lisa presentaition meme template.
meme no usage Show's a random meme from r/memes
rickroll no usage Plays a gif of never gonna give you up.
simplevel no usage Show's your simp level.
tatoo [@user (or not)] You/friend are the best tatoo.
thicc [@user (or not)] Thicc...
trash [@user (or not)] Spider man say's you/friend is trash.
mc-claim no usage Shows instructions on how to claim your NameMC account.
mc-skin [ mc username ] Gets the skin of a Minecraft user.
namemc [ mc username ] Gets name history of a Minecraft user from the Mojang API.
namemcfr [ mc username ] Gets the friend list of a NameMC user.
antijoin [on | off | list] Turn on/off antijoin system, this helps with raids and there is -antijoin list to see the player's that it kicked.
antivc [@user] Stop a user from joining vc.
ban <user> This command ban a member!
clear [1-50] Admins can clear messages.
kick [@user] Kick users.
mute [@user] Admins can mute users from messaging in a text channels.
nuke no usage This command deletes all messages in the channel it was ran in.
remove-all-warns [@user] Remove all the warn from a user.
remove-warn [@user] Remove 1 warn from user.
un-antivc [@user] Let the user join vc.
unban no usage Unban users using commands.
unmute [@user] Admins can unmute users so they can talk in text channels.
warn [@user] [reason] Give a warn to a user.
warns [@user] See all the warns that a user has got.
autoplay no usage Stop the bot from playing a random song.
pause no usage Pause the music in queue.
play [youtube video or playlist link | youtube video name] Play some music.
queue no usage Show the current queue.
repeat [ off | one | all ] Repeat current track or the queue.
resume no usage Resume the paused music.
skip no usage Skip the current music.
stop no usage Stop the music player.
volume [0-100] Change the music player's volume.
anal no usage Image of anal sex.
ass no usage Image of ass.
boobs no usage Image of boobs.
erokemo no usage Image of erokemo.
gonewild no usage Image of gonewild.
hentai no usage Show's a random hentai from r/hentai.
hentaiass no usage Image of hentai ass.
hentaithigh no usage Hentai thigh.
hmidriff no usage Image of hentai midriff.
ihentai no usage Image of hentai.
kitsune no usage Image of kitsune.
lewd no usage A lewd image.
nekofeet no usage Image of neko feet.
nekopussy no usage Image of neko pussy.
nekotits no usage Image of neko tits.
pgif no usage Gif of porn.
pornsolo no usage Image of porn solo.
pussy no usage Image of pussy.
thigh no usage A image of some thigh porn.
wallpaper no usage A anime wallpaper (Has a chance to show NSFW).
about no usage Send detailed info about the client
blacklist [ add | remove ] [ serverID ] Owners can blacklist a server from using the bot.
eco [ add | remove ] [ coins ] Add/Remove money to/from user!
eval [ code ] Evaluate a given code!
premium-guild [ add | remove ] [ guild id ] [ expire ] Add premium to the guild!
premium-user [ add | remove ] [ @user ] Owner can remove premium from users!
set-avatar [ url of image ] Set avatar bot.
xp-owner Owner CMD Owner CMD
kiss [@user] Kiss someone.
rip [@user (or not)] Press f to pay respect.
slap [@user] Slap someone.
triggered no usage Make's a gif of you being triggered.
wanted [@user (or not)] Wanted dead or alive.
announce [#channel] [message] [-ping ?] The bot can send your announcement!
create-br no usage Creates button role!
options [ option 1 | ] [ option 2 ] [ option 3 ] [ option 4 ] { To get a list to the options do the command without options. } Set up some options stuff.
premium-application [ user | guild] [ reason for wanting premium ] Get premium for you or guild.
report [bug] Report a bug to the owner of ServerSMP - BOT.
setup-ticket no usage Setup tickets.
betrayal no usage Play discord betrayal in vc.
chess no usage Play discord chess in vc.
fishing no usage Play discord fishing in vc.
poker no usage Play discord poker in vc.
youtube no usage Send's a link that if you click while in vc will allow you to watch youtube videos from discord.
leaderboard no usage Show who has the most xp/level on you're server.
rank [@user (or not)] Show's you're rank card (xp/level).
rankcard list Options for user rankcards.