Skip to content

Instantly share code, notes, and snippets.

@vega0
Created December 4, 2021 19:25
Show Gist options
  • Save vega0/115a54a4a83360849a6bd2b488d3a892 to your computer and use it in GitHub Desktop.
Save vega0/115a54a4a83360849a6bd2b488d3a892 to your computer and use it in GitHub Desktop.
No custom description.
Traceback (most recent call last):
  File <?65804957>, line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File <?20763869>, line 50, in download
    await command_run_in_calc_time_dff(ctx, body)
  File <?50465154>, line 7, in command_run_in_calc_time_dff
    output = await func(ctx, *args, **kwargs)
  File <?20763869>, line 35, in body
    result = self.vk_api.search_audio(' '.join(args), count=1) if len(args) > 0 else self.vk_api.search_audio_popular()
AttributeError: 'Vk' object has no attribute 'vk_api'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File <?28088188>, line 47, in invoke
    await ctx.command.invoke(ctx)
  File <?65804957>, line 1348, in invoke
    await ctx.invoked_subcommand.invoke(ctx)
  File <?65804957>, line 863, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File <?65804957>, line 94, in wrapped
    raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Vk' object has no attribute 'vk_api'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment