Home
Name Modified Size InfoDownloads / Week
readme.txt 2023-04-16 1.8 kB
Totals: 1 Item   1.8 kB 0
#Copyleft 2023, Okano
#Licenced under the terms of the GPLv3

##Summary
For all your Dungeons & Dragons needs, This bot uses GPT API v3.5 as the backend and will only answer Dungeons and Dragons related queustions.  You can ask anything simply using the $dm command.
If the answer to the question is not related to Dungeons and Dragons in anyway the bot will simply reply; Please ask a Dungeons and Dragons related question.

This scope of this can be changed to suit you needs and changed to whatever your needs require keeping in line with Open AI policies;
https://openai.com/policies/usage-policies

The bot listens for the $dm in your Discord server, and then triggers the webhook to interact with the external interface. 
For example, uaing Python  ddm.py creates an on_message event listener that checks for this command then it will then make HTTP requests to call the GPT API. If the answer relates in anyway to the set perameters the bot will reply,
utilizing the full power of GPT3.5


##Usage Guide
1. First, you need to create a Discord bot and invite it to your server. You can do this by going to the Discord Developer Portal (https://discord.com/developers/applications) and creating a new application. Once the application is created, navigate to the "Bot" tab and click on "Add Bot."

2. Set up your environment: For this we need to use Python and the library for working with the Discord API. Install the required packages and set up a project with the necessary files.

3. Edit  ddm.py with your discord Token and GPT API key.

4. Execute  ddm.py provided or manipulate it for your needs.
 
5. Run the bot: Finally, run the bot using the Discord bot token, which can be found in the Discord Developer Portal under the "Bot" tab.

Source: readme.txt, updated 2023-04-16