discord-self-quest
A lightweight, developer-friendly Python library and CLI tool to inspect, enroll in, and automate Discord quests.
Features
- Python API (Library Mode): Simple and clean client interface (
QuestClient) with custom progress callbacks. - Interactive CLI: Fast terminal user interface for managing quests and HypeSquad badges.
- Headless CLI: Run one-liner commands in scripts or cron jobs using
--all. - Automatic Task Handling: Supports video playback quests and heartbeat desktop / stream quests.
- Rate Limit & Retry Protection: Built-in exponential backoff and rate-limit queue management.
Installation
From local directory / repository:
pip install .
Or install in editable mode for development:
pip install -e .
Install with pip (from wheel or git):
pip install git+https://github.com/your-username/discord-self-quest.git
Quickstart (Python Module Usage)
1. One-Liner to Complete All Quests
import discord_self_quest
# Complete all active quests
completed = discord_self_quest.complete_all(token="YOUR_DISCORD_TOKEN")
print(f"Completed {len(completed)} quests!")
2. Using QuestClient
from discord_self_quest import QuestClient
with QuestClient(token="YOUR_DISCORD_TOKEN") as client:
# 1. Fetch user profile
user = client.login()
print(f"Logged in as: {user.tag} ({user.id})")
# 2. List active quests
quests = client.get_active_quests()
for q in quests:
print(f"- {q.name} [{q.task_label}] Progress: {q.percentage}%")
# 3. Complete all quests
client.complete_all()
3. Custom Progress Callback
Track quest progress in your own application, webhook, or GUI:
from discord_self_quest import QuestClient
def on_progress(quest, current, target, percent):
print(f"[{quest.name}] {current:.0f}/{target:.0f}s ({percent}%)")
with QuestClient(token="YOUR_DISCORD_TOKEN") as client:
client.complete_all(on_progress=on_progress, verbose=False)
4. Set HypeSquad House
from discord_self_quest import QuestClient, HypeSquadHouse
with QuestClient(token="YOUR_DISCORD_TOKEN") as client:
# Set to Bravery (1), Brilliance (2), or Balance (3)
ok, message = client.set_hypesquad(HypeSquadHouse.BRAVERY)
print(message)
CLI Usage
Interactive Menu
Run the CLI command:
discord-self-quest
Or run via python module:
python3 -m discord_self_quest
Direct Non-Interactive Execution
Provide your token directly or via environment variable:
export DISCORD_TOKEN="YOUR_DISCORD_TOKEN"
discord-self-quest --all
Or with the -t argument:
discord-self-quest -t "YOUR_DISCORD_TOKEN" --all
License
MIT License.
Metadata
Release files for discord-self-quest 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| discord_self_quest-2.0.0.tar.gz | 16.0 kB | Without provenance | Details for discord_self_quest-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| discord_self_quest-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for discord_self_quest-2.0.0-py3-none-any.whl |
Total release size: 32.8 kB
Release files / discord_self_quest-2.0.0.tar.gz
| Download URL | discord_self_quest-2.0.0.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d6f93253c6925a834247df9e93902aa8deb02ff7379d0c1dc7a90ac30493c5e
|
|
BLAKE2b-256 checksum How to use checksums |
07cc8c53657be055bc2a94f9c7f869bcd693b02cbaff32735a62b647f76ed6fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / discord_self_quest-2.0.0-py3-none-any.whl
| Download URL | discord_self_quest-2.0.0-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
527107da3cc7c90c117949fe7fd85b41c6dea56c994b7f0bbc0cf7f156461308
|
|
BLAKE2b-256 checksum How to use checksums |
0dca7416be6e7ba828168c46f81b0700544ab41f605da5eb556cf2ff42acffc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for discord-self-quest 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.