diff --git a/main.py b/main.py index b367321..3180474 100644 --- a/main.py +++ b/main.py @@ -40,10 +40,7 @@ async def reply(ctx, message: str): :param ctx: The context of the command or the channel from the event handler. :param message: The message to reply with. """ - if isinstance(ctx, commands.Context): - await ctx.send(message) - elif isinstance(ctx, discord.abc.Messageable): - await ctx.send(message) + await ctx.send(message) else: logger.error(f'Failed to send the following message: "{message}"')