Skip to content
/ G.O.A.T Public
forked from DevNvll/G.O.A.T

Bot de Discord para auxiliar a seleção de tags no servidor Vault130.

License

Notifications You must be signed in to change notification settings

cobyge/G.O.A.T

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This fork was made in order to make this repo easily useable, in English, and easy to set up and run.

Create a bot on Discord's developers page at https://discordapp.com/developers/applications/

Find your Client ID on the "General information" page of your bot, and put it into this link:

https://discordapp.com/oauth2/authorize?client_id=CLIENTID&scope=bot (Replace CLIENTID with your Client ID)

Go to that link, and add the bot to your server (You must have Manage Server or Admin permissions)

In the OAuth2 tab, add a redirect, and put in "http://localhost:3000/callback", as well as the link you are going to deploy to + /callback (e.g "https://mydeploymentwebsite.now.sh/callback")

Make a file named .env (You can copy from .env.example) and put it in the project root. The format should be as follows, # comments are allowed:

#Server ID found on the server settings page in Discord
SERVER_ID=
#Client_ID from Discord Developer page
CLIENT_ID=
#Client Secret from Discord Developer page
CLIENT_SECRET=
#Client Token from Discord Developer page
CLIENT_TOKEN=
#Name of category containing all games.  Category names are shown capitalized in Discord regardless of actual capitalization, so I recommend naming your channel in all caps for simplicity
CHANNEL_CATEGORY=CATEGORY123
#Channel for bot commands.  Bot will only work in this channel.
BOT_COMMAND_CHANNEL=
#Prefix for Bot command.  (e.g: !help | @help | $help, etc)
BOT_COMMAND_PREFIX=!

Install yarn from yarnpkg.com

Once you have that set up, run:

yarn

Yarn will install dependencies Then run:

yarn dev

And you'll be running in development mode.

Browse to http://localhost:3000, and check it out.

To change the icon shown on the main webpage (Please don't use our icon), replace serverIcon.png in the static folder with your own icon (Must be png).

Deployment to Now: Rename now.example.json to now.json, under 'alias', change it to whatever you would like to deploy your website to. Then run: yarn deploy

And it will automatically upload to Now, and the link to your website will be InsertAliasHere.now.sh

Add option for Range of players Make BOT_POST_CHANNEL_ID optional (Post in the same channel as recieved messages) Add client-based error rendering.

About

Bot de Discord para auxiliar a seleção de tags no servidor Vault130.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%