diff --git a/main.py b/main.py index fbc90bc4..c5a949e3 100644 --- a/main.py +++ b/main.py @@ -205,8 +205,7 @@ async def help(ctx: ApplicationContext, command: str = None): for x in commandsdb: if commandsdb[x]["type"] != "DevTools": r += f"`/{x}`\n" localembed = discord.Embed(title="Isobot Command Help", description=f"**Bot Commands:**\n{r}", color = color) - user = client.fetch_user(ctx.author.id) - await user.send(embed=localembed) + await ctx.author.send(embed=localembed) await ctx.respond("Check your direct messages.", ephemeral=True) # DevTools commands