lunarflu HF Staff commited on
Commit
4f26d55
·
1 Parent(s): 0a69abf

[falcon.py] test_env printing debug mode

Browse files
Files changed (1) hide show
  1. falcon.py +3 -0
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...")