Answer the question
In order to leave comments, you need to log in
How to change prefix in discord.py?
Code:
import discord
from discord.ext import commands
import random
import os
bot = commands.Bot(command_prefix='!')
bot.remove_command( 'help' )
@bot.command(pass_context=True)
async def help(ctx):
emb = discord.Embed( title= 'Team Navigation')
emb.add_field( name ='say'.format(bot), value='Bot says instead of you!')
await ctx.send( embed = emb )
bot.run(os.environ['TOKEN'])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question