[falcon.py] test_env printing debug mode
Browse files
falcon.py
CHANGED
|
@@ -27,6 +27,9 @@ async def try_falcon(interaction, prompt):
|
|
| 27 |
|
| 28 |
if interaction.user.id != BOT_USER_ID:
|
| 29 |
if interaction.channel.id == FALCON_CHANNEL_ID:
|
|
|
|
|
|
|
|
|
|
| 30 |
await interaction.response.send_message(f"Working on it!")
|
| 31 |
channel = interaction.channel
|
| 32 |
message = await channel.send(f"Creating thread...")
|
|
|
|
| 27 |
|
| 28 |
if interaction.user.id != BOT_USER_ID:
|
| 29 |
if interaction.channel.id == FALCON_CHANNEL_ID:
|
| 30 |
+
|
| 31 |
+
if os.environ.get('TEST_ENV') is True:
|
| 32 |
+
print("TEST_ENV is True.")
|
| 33 |
await interaction.response.send_message(f"Working on it!")
|
| 34 |
channel = interaction.channel
|
| 35 |
message = await channel.send(f"Creating thread...")
|