- Very easy to use
- Uses diskord
- Actively maintained
You can easily install it using the python package manager pip
pip install diskord-invites
Example usage (bot is diskord.ext.commands.Bot)
from diskord_invites import Tracker
tracker = Tracker(bot)
@tracker.member_join
async def member_join(member, inviter, channel):
await channel.send(f"{member.name} was invited by {inviter.name}")
Feel free to open pull requests and improve the library. If you find any issues, please report it.