Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Codeusername78/Chat-Bot-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Chat-Bot-AI

Welcome to this guide and follow the instructions to prepare a working Smart AI Discord bot!

First Step-:

  1. Go to https://discord.com/developers/applications and create a new application (button is on top right).

image

2) Enter the name of the bot and click Create.

image

3) Go to the Bot Section and click add a bot.

image

4) Scroll Down and enable all privileged gateway intents.

image

5) Now go to OAuth2 < URL Generator, In Scopes select bot
  1. 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/ Screenshot 2022-07-20 200425

Create an account and go to Manage Key.

Generate a new api key.

image

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.

image

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!

image

About

A repository helping in creating a smart AI chatbot on the discord platform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages