lunarflu HF Staff commited on
Commit
f0eeeb2
·
1 Parent(s): 6845b97

[info] added ctx

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ bot = commands.Bot(command_prefix='!', intents=intents)
55
 
56
  #---------------------------------------------------------------------------------------------------------------------------------------------
57
  @bot.command()
58
- async def info():
59
  current_directory = os.getcwd()
60
  temp_directory = tempfile.gettempdir()
61
  await ctx.reply(f"current_directory={current_directory}\n temp_directory={temp_directory}")
 
55
 
56
  #---------------------------------------------------------------------------------------------------------------------------------------------
57
  @bot.command()
58
+ async def info(ctx):
59
  current_directory = os.getcwd()
60
  temp_directory = tempfile.gettempdir()
61
  await ctx.reply(f"current_directory={current_directory}\n temp_directory={temp_directory}")