Skip to content

Discord bots are AIs that can perform a number of useful automated tasks and bot commands on your server, such as welcoming new members, moderating content, and banning rule breakers. You can use bot commands to add music, memes, games, and other content to your server.

Notifications You must be signed in to change notification settings

brokiemag/Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Discord-Bot

Discord bots are AIs that can perform a number of useful automated tasks and bot commands on your server, such as welcoming new members, moderating content, and banning rule breakers. You can use bot commands to add music, memes, games, and other content to your server.

Installation

Use the package manager pip to install -r requirements.txt .

pip install -r requirements.txt

Usage

from discord_webhook import DiscordWebhook
import discord 

client = discord.Client()
@client.event
async def on_ready():
  print('We have logged in as {0.user}'.format(client))

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

if msg.startswith(".hello"):
    await message.channel.send("Hi I am a BOT i can do anything , please type .help for the list of commands.")
  if msg.startswith(".hi"):
    await message.channel.send("Hi I am a BOT i can do anything , please type .help for the list of commands.")

client.run("KEy#")

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Brokiemag

About

Discord bots are AIs that can perform a number of useful automated tasks and bot commands on your server, such as welcoming new members, moderating content, and banning rule breakers. You can use bot commands to add music, memes, games, and other content to your server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages