A discord webhook to track Tibia guild changes.
Project description
GuildWatche
A discord webhook that posts guild changes (member joins, members leaves, member promoted) in a Discord channel.
Installing
Install and update using pip:
pip install guildwatcher -U
or
Install the latest version from GitHub
pip install git+https://github.com/Galarzaa90/GuildWatcher.git -U
or
Download/Clone files, install requirements and run guild_watcher.py
pip install -r requirements.txt
Configuring Webhooks
- On the desired channel, go to its settings and click on the Webhooks section.
- Click on Create Webhook.
- Customize the avatar as needed.
- Copy the webhook's URL.
- Create a file named config.json and edit it, basing it on config-example.json.
- The top level
webhook_url
will be used, but if you want another guild to use a different URL, you can specify one for that guild. - If
override_image
is added to the guild, its logo will be used instead.
- The top level
Running the script
config.json
must be in the same directory you're running the script from.- The script generates
.data
files, named after the guilds, these save the last state of the guild, to compare it with the current state.
If installed using pip, you can run the script in one of two ways:
guildwatcher
or
python -m guildwatcher
Current Features
- Announces when a member joins
- Announces when a member leaves or is kicked
- Announce when a member is promoted or demoted
- Announce when a member changes name
- Announce when a member's title is changed
- Multiple guilds support
- Webhook URL configurable per guild
Known Issues
- Renaming a rank would trigger all rank members getting announced as leaving and joining back.
Planned features
- Configurable scan times
- Check invites
Example
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
guildwatcher-0.1.1.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for guildwatcher-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5413f6d7906e8760f0b9de533f6570365136c8f42583fa8ab8602e1ca3007e56 |
|
MD5 | 29d278db29f540018839f283fac90d66 |
|
BLAKE2b-256 | a841bf3044c7e60eb2e144a0a0522eb891a87975f9c7abfb0495837131337790 |