NanduWasTaken / Discord-AI-Image-Generation-Bot

A Discord Bot Which Can Create AI Generated Image. Using Open AI Api.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DiscordBot-Slash-Commands

A simple discord bot equiped with slash command & event handlers to start your journey.
Available commands:-

Forking the github respository

Type this into the terminal git clone https://github.com/NanduWasTaken/Disc.git

Setting Up Env File.

  TOKEN = "bot_token"
  CLIENT_ID = "bot_id"
  OPEN_AI_API_KEY = "open_ai_api_key"
  STATUS = "dnd"
  ACTIVITY_NAME = "SCRIBLLING THINGS"

Replace bot_token with your bot token you can obtain your bot token from discord developer portal.

Replace bot_id with your bot's client id.

Replace open_ai_api_key with your open ai api key. You can generate the key after making a account on Open AI Website. You can follow this for help.


Optional Configuration.

Status name can be changed by changing the SCRIBLLING THINGS with whatever you want it to be.
Status dnd can be changed into 'dnd', 'idle', 'online' and 'invinsible'.
If you want to change your activity type of your bot go into ready.js in events folder and change it.

Starting Your Bot

To start your bot. Type node index.js into your terminal.

Now Try Out Your /image Command!

Credit

This Repository is made from this.

About

A Discord Bot Which Can Create AI Generated Image. Using Open AI Api.

License:MIT License


Languages

Language:JavaScript 100.0%