Pycord-Development / pycord

Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python
https://docs.pycord.dev
MIT License
2.71k stars 459 forks source link

is_integration return False even if its an integration #2474

Open Lumabots opened 2 months ago

Lumabots commented 2 months ago

Summary

is_integration return False even if its an integration

Reproduction Steps

use the function role.is_integration()

Minimal Reproducible Code

role = await self.bot.get_or_fetch_role(ctx.guild, 1174017132154081393)
    print(role.is_integration())

Expected Results

should return True since is an integration of a bot

Actual Results

return false

Intents

all

System Information

2.5

Checklist

Additional Context

No response