Skip to content

nqdior/imaginify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stability AI Japan - FastAPI Discord Bot XL

In this repository, you can find the source code for a Discord Bot implemented using FastAPI. This bot utilizes Pycord, a Python library built upon discord.py for accessing the Discord API. FastAPI enhances the bot by providing a web interface for management and operations.

Setup

  1. Create a bot in the Discord Developer Portal.
  2. Create an .env file to store your bot token and other environment variables:
DISCORD_BOT_TOKEN="your_bot_token_here"
STABILITY_API_KEY="your_api_key_here"
  1. Install the required Python packages from the requirements.txt file:
python -m pip install -r requirements.txt
  1. Start the FastAPI application:
uvicorn main:app --reload

This command will start the FastAPI server with live reloading enabled, making development more efficient. Ensure your main.py file is configured to initialize and run your FastAPI app.

License

Shield: CC BY-NC 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

CC BY-NC 4.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages