Skip to content

buckyroberts/Discord-Python-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Setup

Follow the steps below to set up the project on your environment.

Mac Setup

Homebrew requires the Xcode command-line tools from Apple's Xcode. Install the Xcode command-line tools by running the following command in your macOS Terminal:

xcode-select --install

Install brew using the official Homebrew installation instructions.

Install MongoDB by running the following commands in your macOS Terminal:

brew tap mongodb/brew
brew install mongodb-community@5.0

Use the following commands to run and stop MongoDB (i.e. the mongod process) as a macOS service:

brew services start mongodb-community@5.0
brew services stop mongodb-community@5.0

Create the initial structure in MongoDB:

  • Database: discord-db
  • Collection: users

Local Development

Create a virtual environment with Python 3.7 or higher.

Install required packages:

pip3 install -r requirements.txt

Environment Variables

Create a .env file in the projects root directory with the following variables set:

DISCORD_TOKEN=ODg0MTU1MDg1NDUyNjExNjQ2.YTUXlw.LrDNHvwYo3VeHdpgRzN0Jq8DzXg

Community

Join the community to stay updated on the most recent developments.

About

The official Discord Python framework for thenewboston blockchain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages