Skip to content

ilynivin/DiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Discord Bot Template

For those who want to Head Start with the code


Template Download and Setup

To download this template you can use the download button or you can Copy and paste this following code in your Python file 😁

import discord
from discord import app_commands
intents = discord.Intents.default()
intents.message_content = True


client = discord.Client(intents=intents)

@client.event
async def on_ready():
    print("Logged in as {0.user}".format(client))



@client.event
async def on_message(message):
    if message.author == client.user:
        return

    if message.content.startswith('$hello'):
        await message.channel.send('Hello Brother !')


client.run('Bot Token')

Or you want to do the classic way of coding here you can do it

Old Classic Way

Check lists

  • Install Python
  • Git Setup(optional)
  • Git Clone or Download
  • Installing the requirements to run the bot boi
  • Bot creating and tocken !

Install Python

To run this bot you have to install python on your workstation.Install it Now downloadmeboi



  • Install Python

Git Setup(optional)

You can clone this repo using the git clone.Also one more thing is that you have to install git from your work station.DownloadGitNowBoi

Once done Clone this repo by Pasting this command in your terminal

git clone https://github.com/ilynivin/bottemplate.git



  • Git Setup(optional)

Installing the requirements to run the bot boi

Once you done your fancy way of cloning this repo you can run this bot boi by doing this facy adventure

Building the rope

Every Gamer / Programer / Webdevaloper Needs the basic framework . Eg : Gamer needs a keybord and mouse to show off epic skills

epic

Ok! Now we show some epic HACKING SKILLS Like this

hackmeme

On your Terminal type this following Command


pip install -r requirements.txt

And Onece it dones Run the main.pyfile in CLI

pyhton main.py



  • Installing the requirements to run the bot boi

Finally Its Time to Create Some Bots !

bots

Go to discord dev portal and create a application and click create bot and copy the discord token and paste it on client.run('your toc')

Note : Tocken are the password of the bot . If it comes in wrong hands it will become worse ! Make sure that your token is saved in .envfile



  • Bot creating and tocken !

"Dont Fork it give it A Star 🎆"