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
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)