Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
popcord authored May 20, 2024
1 parent 1547abe commit 21d8c13
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ This Discord bot utilizes an AI image generation API to create images based on u

1. Clone this repository.
2. Install dependencies by running `pip install -r requirements.txt`.
3. Obtain an API key from [VisionCraft Bot](https://t.me/VisionCraft_bot) and replace `api_key` in the code with your key.
4. Create a new Discord bot and obtain its token:
3. Create a new Discord bot and obtain its token:
- Go to the [Discord Developer Portal](https://discord.com/developers/applications).
- Create a new application and navigate to the "Bot" tab.
- Click "Add Bot" to create a bot user for your application.
- Copy the token provided under the bot's username and avatar.
5. Replace the `client.run("")` line in `bot.py` with your Discord bot token.
6. Run the bot using `python bot.py`.
4. Replace the `client.run("")` line in `bot.py` with your Discord bot token.
5. Run the bot using `python bot.py`.


## Dependencies
Expand All @@ -44,3 +43,8 @@ This Discord bot utilizes an AI image generation API to create images based on u
- `aiohttp`: Asynchronous HTTP client/server framework.
- `asyncio`: Asynchronous I/O support.
- `datetime`: Date and time manipulation.


## Thanks

- thanks to [OpenImagery](https://discord.gg/9z2wBmdQdS) for providing a free AI api

0 comments on commit 21d8c13

Please sign in to comment.