Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
# Code adapted from https://discordpy.readthedocs.io/en/latest/
import discord
#Lines 4 & 5 code taken from https://issuehunt.io/blog/How-to-write-a-Discord-bot-in-Python-5bb1f0e3c556c5005573c508
@bot.command()
async def help(ctx):
if message.content.startswith('?needhelp'):
channel = message.channel
await channel.send('Hi! What you need help with?')