Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions fizzbuzz/__init__.pyi

This file was deleted.

13 changes: 0 additions & 13 deletions fizzbuzz/db/__init__.pyi

This file was deleted.

9 changes: 0 additions & 9 deletions fizzbuzz/db/db.pyi

This file was deleted.

2 changes: 2 additions & 0 deletions fizzbuzz/db/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
__author__ = "Gavin Borne"
__license__ = "MIT"

__all__ = ["SettingsManager", "SettingsScope", "settings_manager"]


_DB_FILENAME = "bot.sqlite"

Expand Down
40 changes: 0 additions & 40 deletions fizzbuzz/db/settings.pyi

This file was deleted.

8 changes: 0 additions & 8 deletions fizzbuzz/db/wrapped/__init__.pyi

This file was deleted.

2 changes: 2 additions & 0 deletions fizzbuzz/db/wrapped/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
__author__ = "Gavin Borne"
__license__ = "MIT"

__all__ = ["YearlyMetricStore", "metric_store"]

_SCHEMA = """--sql
CREATE TABLE IF NOT EXISTS messages (
message_id TEXT PRIMARY KEY,
Expand Down
33 changes: 0 additions & 33 deletions fizzbuzz/db/wrapped/metrics.pyi

This file was deleted.

19 changes: 0 additions & 19 deletions fizzbuzz/discord/__init__.pyi

This file was deleted.

18 changes: 0 additions & 18 deletions fizzbuzz/discord/checks/__init__.pyi

This file was deleted.

2 changes: 2 additions & 0 deletions fizzbuzz/discord/checks/admin_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
__author__ = "Gavin Borne"
__license__ = "MIT"

__all__ = ["Unauthorized", "admin_only", "owner_only"]


class Unauthorized(app_commands.CheckFailure):
"""Raised when an unauthorized user attempts to use an authorized command."""
Expand Down
14 changes: 0 additions & 14 deletions fizzbuzz/discord/checks/admin_checks.pyi

This file was deleted.

2 changes: 2 additions & 0 deletions fizzbuzz/discord/checks/guild_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
__author__ = "Gavin Borne"
__license__ = "MIT"

__all__ = ["NotInGuild", "get_guild", "get_member", "guild_only"]


class NotInGuild(app_commands.CheckFailure):
"""Raised when a user who is not in a guild attempts to use a guild-only command."""
Expand Down
18 changes: 0 additions & 18 deletions fizzbuzz/discord/checks/guild_checks.pyi

This file was deleted.

2 changes: 2 additions & 0 deletions fizzbuzz/discord/checks/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
__author__ = "Gavin Borne"
__license__ = "MIT"

__all__ = ["Check", "CheckT"]

T = TypeVar("T")

CheckT = Callable[[T], T]
Expand Down
10 changes: 0 additions & 10 deletions fizzbuzz/discord/checks/types.pyi

This file was deleted.

18 changes: 18 additions & 0 deletions fizzbuzz/discord/extensions/public/color/color_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,24 @@
__author__ = "Gavin Borne"
__license__ = "MIT"

__all__ = [
"CSS_BLUES",
"CSS_BROWNS",
"CSS_GRAYS",
"CSS_GREENS",
"CSS_ORANGES",
"CSS_PINKS",
"CSS_PURPLES",
"CSS_REDS",
"CSS_WHITES",
"CSS_YELLOWS",
"HEX_TO_CSS_NAME",
"Color3",
"ColorParseError",
"generate_color_image",
"validate_hex",
"validate_rgb",
]

_RealNumber = int | float

Expand Down
60 changes: 0 additions & 60 deletions fizzbuzz/discord/extensions/public/color/color_tools.pyi

This file was deleted.

9 changes: 9 additions & 0 deletions fizzbuzz/discord/extensions/public/color/color_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@
__author__ = "Gavin Borne"
__license__ = "MIT"

__all__ = [
"ColorView",
"DarkenModal",
"LightenModal",
"build_color_embed",
"get_color_role_name",
"update_color_role",
]


def build_color_embed(
*, title: str, description: str, color: Color3
Expand Down
Loading