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

Goldy-Bot/Goldy-Bot-V4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

235 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goldy Bot V4 (Modern Rewrite)

Powered by Nextcord Pypi Badge Python Badge Docs Badge

⚠️ IS NOW DEPRECATED! Switch to Goldy Bot V5. 👋

What is this!

Goldy Bot V4 is yet another rewrite of Goldy Bot, a discord bot that I develop for FUN. This is the third rewrite but the first rewrite to become open source, I've done this to allow developers across the world to create add-ons/extenstions for my bot that I can then add to the official production bot.

Feel free to use this module to develop your extenstions.

Install/Set Up

  1. Install package from pip.

⚠️ THIS IS THE LAST VERSION OF V4 - Every other version above is V5

#Windows/Linux

pip install GoldyBot==4.0.dev25
  1. Download MongoDB Community. (You'll need this!) >>> https://www.mongodb.com/try/download/community

After finishing the install progress the MongoDB compass should open, copy the local host url and click connect. You'll need the url later!

  1. Now create a run.py file, type this and run it.
import GoldyBot

goldy = GoldyBot.Goldy()

goldy.start()

Goldy Bot should shut itself down and create a config folder containing a 'bot token' text file.

  1. Enter your discord bot token in the bot_token.txt file.
{ENTER BOT TOKEN HERE}

Save that! Make sure you pasted it WITHOUT the curly brackets ({}).

  1. Then in goldy.json edit the following for Goldy Bot to start functioning.
"database_name" : "",

"allowed_guilds" : {
}

Give the database a name and add your bot testing guild id to "allowed_guilds" or else Goldy Bot will refuse to work.

So like this! (This is just an example!)

"database_name" : "members_data",

"allowed_guilds" : {
    "863416692083916820" : "bot_test_server"
}
  1. Now run Goldy Bot. It will create another txt file and stop running. This is your database url, remember the url I told you to copy, paste that in this text file WITHOUT the curly brackets ({}).

  2. Then run Goldy Bot once again.

python run.py

Now you should see a folder being created for your guild and also a database folder in your MongoDB database.

  1. Now your all set for development!

More Docs Here


© Copyright (C) 2022 Dev Goldy (Under the GPL-3.0 License)

Packages

 
 
 

Contributors