ShridharSingh /
python-chatbot-demo
This repository is aimed at helping beginners and hobbiests understand how an AI Large-Language Model (LLM) works by providing a starting point to interact with LLMs using Python code.
52/100 healthLoading repository data…
Codeusername78 / repository
A repository helping in creating a smart AI chatbot on the discord platform.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Welcome to this guide and follow the instructions to prepare a working Smart AI Discord bot!
First Step-:
Go to https://discord.com/developers/applications and create a new application (button is on top right).
Enter the name of the bot and click Create.
Go to the Bot Section and click add a bot.
Scroll Down and enable all privileged gateway intents.
Now go to OAuth2 < URL Generator, In Scopes select bot
After selecting bot, you should be able to add in in your server.
Running bot on VS Code
Copy the code provided, and paste it in your file.
install discord.py using pip install discord.py on command prompt.
Copy your bot's token in the bot sectiong of the developer portal.
In line 32, replace "Your Bot Token" with the copied token.
We would be requiring two api keys , One for Random Stuff Api developed by Mr. PGamerX and One for Rapid Api.
Go to https://api-info.pgamerx.com/
Create an account and go to Manage Key.
Generate a new api key.
At line 8, replace API_KEY with your copied API Key
RAPID API KEY
Visit this site https://rapidapi.com/pgamerxdev/api/random-stuff-api/
Register an account at Rapid Api.
You will be able to find your key here.
At line 8, replace "Your Rapid Api Key" with your RAPID API Key.
After applying these changes,
Run the bot and the bot should be running!
Selected from shared topics, language and repository description—not editorial ratings.
ShridharSingh /
This repository is aimed at helping beginners and hobbiests understand how an AI Large-Language Model (LLM) works by providing a starting point to interact with LLMs using Python code.
52/100 health