from functools import wraps


def bot_only(func):
    @wraps(func)
    def inner(self, *args, **kwargs):
        if not self.user.bot:
            return
        return func(self, *args, **kwargs)
    return inner

from functools import wraps


def bot_only(coro):
    @wraps(coro)
    async def inner(self, *args, **kwargs):
        if not self.user.bot:
            return
        return await coro(self, *args, **kwargs)
    return inner

Make bot_only async, because duh
Make bot_only async, because duh
