diff --git a/helpbot.py b/helpbot.py new file mode 100644 index 0000000..f624808 --- /dev/null +++ b/helpbot.py @@ -0,0 +1,36 @@ +import discord +from discord.ext import commands + +def read_token(): + with open ("token.txt") as file: + lines = file.readlines() + return lines[0].strip() + +token = read_token() + +client = discord.Client() + + +bot = commands.Bot() +bot.remove_command('help') + + +@bot.command() +async def info(ctx): + + await ctx.send(ctx.guild) + await ctx.send(ctx.author) + await ctx.send(ctx.message.id) + + +@bot.command() +async def help(ctx): + embed = discord.Embed( + title='Movie Bot Commands', + description='Welcome to the Movie Chatbot help section! You will find all the commands that you could use to interact with a chatbot', + color=discord.Colour.gold() + ) + + await ctx.send(embed=embed) + +bot.run(token)