lunarflu HF staff commited on
Commit
61513be
·
verified ·
1 Parent(s): a56363d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -52,6 +52,9 @@ async def on_ready():
52
  """import data from google sheets -> HF Space df (doesn't make API call this way, as it's read-only)"""
53
  global_df = test_merge
54
  print(f"csv successfully retrieved: \n {global_df}")
 
 
 
55
 
56
  @tasks.loop(minutes=1)
57
  async def give_verified_roles():
 
52
  """import data from google sheets -> HF Space df (doesn't make API call this way, as it's read-only)"""
53
  global_df = test_merge
54
  print(f"csv successfully retrieved: \n {global_df}")
55
+ print(f"We have logged in as {bot.user}")
56
+ if not give_verified_roles.is_running():
57
+ give_verified_roles.start()
58
 
59
  @tasks.loop(minutes=1)
60
  async def give_verified_roles():