我正在使用Atom,当我在不和谐的地方使用命令时,它会说3次。我真的是编码新手,我想知道是否有人可以看到问题所在
import discord
from discord.ext import commands
TOKEN = '(this is where my token is)'
client = commands.Bot(command_prefix = ',')
@client.event
async def on_ready():
await client.change_presence(status=discord.Status.online, activity=discord.Game('with the Dev team'))
print('Shy Games ready to go')
@client.command()
async def progress(ctx):
await ctx.send(f'not even started')
@client.command()
async def info(ctx):
await ctx.send(f'Genre')
client.run(TOKEN)
当我使用命令时,进度被说了3次,我想知道为什么