I have a Discord bot and a webhook setup for a Discord channel to send a command every hour on the dot. However it seems that Discord Rewrite by default ignores commands sent from other bots. How do I go about disabling this?
Do I need to modify something on a per-command function or the on_message function?
Current on message
@bot.event
async def on_message(message):
await bot.process_commands(message)
Edit: Found the solution
@bot.event
async def on_message(message):
ctx = await bot.get_context(message)
await bot.invoke(ctx)