lunarflu HF staff commited on
Commit
9d0b146
1 Parent(s): 595128d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -8
app.py CHANGED
@@ -315,6 +315,17 @@ async def xp_help(ctx):
315
  help_message = "How to earn Discord / Hub exp: Post messages, react, Like, discuss, create repos and papers"
316
  await ctx.author.send(help_message)
317
 
 
 
 
 
 
 
 
 
 
 
 
318
  # embeds with user pfps?
319
  # name, pfp, time in server....
320
 
@@ -342,15 +353,7 @@ def run_bot():
342
  bot.run(DISCORD_TOKEN)
343
  threading.Thread(target=run_bot).start()
344
 
345
- #URL = "https://docs.google.com/spreadsheets/d/1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w/edit#gid=0"
346
- #csv_url = URL.replace('/edit#gid=', '/export?format=csv&gid=')
347
-
348
 
349
- def get_data():
350
- #data = pd.read_csv(csv_url)
351
- first_3_columns = data.iloc[:, 1:4]
352
- first_3_columns.to_csv('first_3_columns.csv', index=False)
353
- return first_3_columns
354
 
355
  # csv
356
  # read into pandas dataframe1
 
315
  help_message = "How to earn Discord / Hub exp: Post messages, react, Like, discuss, create repos and papers"
316
  await ctx.author.send(help_message)
317
 
318
+
319
+ #URL = "https://docs.google.com/spreadsheets/d/1hQSsIg1Y9WdBF_CdNM1L1rUUREoxKqRTe3_ILo-WK8w/edit#gid=0"
320
+ #csv_url = URL.replace('/edit#gid=', '/export?format=csv&gid=')
321
+
322
+
323
+ def get_data():
324
+ #data = pd.read_csv(csv_url)
325
+ first_3_columns = data.iloc[:, 1:4]
326
+ first_3_columns.to_csv('first_3_columns.csv', index=False)
327
+ return first_3_columns
328
+
329
  # embeds with user pfps?
330
  # name, pfp, time in server....
331
 
 
353
  bot.run(DISCORD_TOKEN)
354
  threading.Thread(target=run_bot).start()
355
 
 
 
 
356
 
 
 
 
 
 
357
 
358
  # csv
359
  # read into pandas dataframe1