Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new dev variables #169

Merged
merged 1 commit into from
Nov 29, 2023
Merged
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
15 changes: 14 additions & 1 deletion ballsdex/core/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,17 @@
from discord.ext import commands

from ballsdex.core import models
from ballsdex.core.models import Ball, BallInstance, BlacklistedID, GuildConfig, Player, Special
from ballsdex.core.models import (
Ball,
BallInstance,
BlacklistedGuild,
BlacklistedID,
GuildConfig,
Player,
Special,
Trade,
TradeObject,
)

if TYPE_CHECKING:
from ballsdex.core.bot import BallsDexBot
Expand Down Expand Up @@ -262,7 +272,10 @@ def get_environment(self, ctx: commands.Context) -> dict:
"Player": Player,
"GuildConfig": GuildConfig,
"BlacklistedID": BlacklistedID,
"BlacklistedGuild": BlacklistedGuild,
"Special": Special,
"Trade": Trade,
"TradeObject": TradeObject,
"text_to_file": text_to_file,
"_": self._last_result,
"__name__": "__main__",
Expand Down
Loading