Ask coding questions

← Back to all posts
Run commands through bot [discord.py]
mesquite2234

I want to call a kick command from another bot, but it returns the memberNotFound error, but when I call the same command in discord, it works. How do I run the command from the other bot?

Comments
hotnewtop
SorenRood

Not sure what you mean here. Could you provide a bit more context?

mesquite2234

@SorenRood I have a discord bot command, and I want to call this command from a different bot. The command is a standard kick command

SorenRood

@mesquite2234 Discord bots are not allowed to see other discord bots. Otherwise, there are cases where you would get stuck in some type of discord bot recursive loop.

source1

source2