sho6000 / discord_aichatbot Goto Github PK
View Code? Open in Web Editor NEWPython chatbot AI that helps in creating a python based chatbot with minimal coding as a discord bot.
License: MIT License
Python chatbot AI that helps in creating a python based chatbot with minimal coding as a discord bot.
License: MIT License
setup the bot in https://discord.com/developers/applications/ cpy the token and use it in your code and run it #Adding TOKEN copy the token from developer portel and paste to a new file extention as {.env} and make a variable {TK} pointing towards main.py #Additional info for python langaage Using intents in discord.py Intents are a feature of Discord that tells the gateway exactly which events to send your bot. Various features of discord.py rely on having particular intents enabled, further detailed in its documentation. Since discord.py v2.0.0, it has become mandatory for developers to explicitly define the values of these intents in their code. There are standard and privileged intents. To use privileged intents like Presences, Server Members, and Message Content, you have to first enable them in the Discord Developer Portal. In there, go to the Bot page of your application, scroll down to the Privileged Gateway Intents section, and enable the privileged intents that you need. Standard intents can be used without any changes in the developer portal. Afterwards in your code, you need to set the intents you want to connect with in the bot's constructor using the intents keyword argument, like this: from discord import Intents from discord.ext import commands # Enable all standard intents and message content # (prefix commands generally require message content) intents = Intents.default() intents.message_content = True bot = commands.Bot(command_prefix="!", intents=intents) For more info about using intents, see discord.py's related guide, and for general information about them, see the Discord developer documentation on intents.
Issue/feature description
Read me file is not optimised
why the issue is to be fixed
Issue nedds to be fixed so that the new users can understand the instructions properly and easily
how to reproduce in case of bug
N/A
Other notes/Environment information
N/A
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.