Skip to content

Instantly share code, notes, and snippets.

@vega0
Created December 4, 2021 17:24
Show Gist options
  • Save vega0/d06d96f8ce93640391dddc32ebbd3e61 to your computer and use it in GitHub Desktop.
Save vega0/d06d96f8ce93640391dddc32ebbd3e61 to your computer and use it in GitHub Desktop.
No custom description.
Traceback (most recent call last):
  File <?67647203>, line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File <?40423898>, line 50, in download
    await command_run_in_calc_time_dff(ctx, body)
  File <?52785379>, line 7, in command_run_in_calc_time_dff
    output = await func(ctx, *args, **kwargs)
  File <?40423898>, 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 <?98051449>, line 47, in invoke
    await ctx.command.invoke(ctx)
  File <?67647203>, line 1348, in invoke
    await ctx.invoked_subcommand.invoke(ctx)
  File <?67647203>, line 863, in invoke
    await injected(*ctx.args, **ctx.kwargs)
  File <?67647203>, 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