Hello, my name is VVarden! You can call me Warden or 5 Warden (V Warden).
The bot was originally created by Vampire in an effort to combat the prevalence of pirated code and cheating within the FiveM community.
The bot is the frontend for a database of users in Leaking and Cheating Discord servers, with settings to prevent those users from entering your discord server.
You can join the Official Discord for more information: https://discord.com/invite/MVNZR73Ghf
- Make sure you have pnpm installed.
- Go to the Discord Developer Portal, make an application if you haven't and create a bot there if you haven't either.
- Now you can see the Bot Token, save this one because you'll have to reset it if you lose it.
- Enable the
Presence Intent, theServer Members Intentand theMessage Content Intenton the same page. - Now navigate to the OAuth2 page and to the URL Generator tab, there you select the option
botandapplication.commands. After that you can select the permissions, for ease just selectAdministrator. Then you can copy the link and invite the bot to your server to get started with actually starting the bot. - Clone this repository (If using git clone, use
git clone --recursive https://github.com/V-Warden/discord.gitso the prisma folder is also pulled, otherwise make sure you've also cloned the prisma folder) - Open this in a code editor of your choice.
- Open a terminal in this folder (VSCode for example has one built-in).
- Run the command
pnpm i. - Create file called
.envin this folder. - Copy the contents of
.env.exampleto the newly created file and edit them accordingly:
tokenis the token of your Discord Developer App Bot.environmentis the environment the bot should run in, the options aredev,prodanddebug.devis recommended for contributing.guildIdis the ID of your the discord server that the bot should act in, you can see how to do that here.DATABASE_URLshould speak for itself, that is the data for your database which the bot runs with, it's recommended to setup some kind of MySQL Server (if you have no password, you can remove the:PASSWORDpart).
- Now run the command
npx prisma migrate dev --name init. - Now you can safely run
pnpm start:devto run the bot.