def fake_user(**kwargs):
    """Fixture to return a dictionary representing a user with default values set."""
    kwargs.setdefault("id", 43)
    kwargs.setdefault("name", "bob the test man")
    kwargs.setdefault("discriminator", 1337)
    kwargs.setdefault("avatar_hash", None)
    kwargs.setdefault("roles", (666,))
    kwargs.setdefault("in_guild", True)

    return kwargs