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.2.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file diskord-invites-0.2.tar.gz
.
File metadata
- Download URL: diskord-invites-0.2.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ccb1c4deb6a1d4e0e14dd96640530da1c5823266a4880550660e2c5a42662a0 |
|
MD5 | c89487269f14edb56529a06bf68694c8 |
|
BLAKE2b-256 | 2a15e5fcfc36431acec0883c18deacbf3aa7ac72595a848b3a9069464ede12bd |
File details
Details for the file diskord_invites-0.2-py3-none-any.whl
.
File metadata
- Download URL: diskord_invites-0.2-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a043e5cabb44646a9c46188b2996ea743f74564fb7c09337a3785804b85a6b30 |
|
MD5 | e0878de3afb15b12efb53ad5c72699c9 |
|
BLAKE2b-256 | 97a0fed04f8ff3f5fccb517a3c59171d573323c0721bec5c34493a0c741acff4 |