Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

diskord_invites-0.2-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page