Python library for simple invites tracking.
Project description
diskord-invites
Python library for simple invites tracking.
Features
- Very easy to use
- Uses diskord
- Actively maintained
Links
Installation
You can easily install it using the python package manager pip
pip install diskord-invites
Quickstart
Example usage (bot is Bot or Client and it must be ran)
from diskord_invites import Tracker
tracker = Tracker(bot)
bot.add_cog(tracker)
@tracker.member_join
async def member_join(member, inviter, channel):
await channel.send(f"{member.name} was invited by {inviter.name}")
Contributions
Feel free to open pull requests and improve the library. If you find any issues, please report it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
diskord-invites-0.1.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for diskord_invites-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 244a9769f5bec5d09dc17fe1cee291f832f437169d3115761d681454ff90b45a |
|
MD5 | ce9cc300a79b75658b647ff5c78dcbd7 |
|
BLAKE2b-256 | be268452f32b998f3d1a8dcfe1dd48170f37c9a17a741e571ee5301adcdd4736 |