Skip to content

Instantly share code, notes, and snippets.

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