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 diskord.ext.commands.Bot)
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.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for diskord_invites-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5013ba762e797a4ba79f2e5106512d4abd2344f0ae7a64c6ad2f4b495b602734 |
|
MD5 | 44a65d107394883a64ade6cb9f2295b4 |
|
BLAKE2b-256 | bc819a6c81bcbde2ea9e43ba59d30fe14a8809a402e2b64b78013896b4df45e7 |