Traceback (most recent call last):
File "C:\Users\-----\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\discord\ext\commands\core.py", line 235, in wrapped.
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\-----\Desktop\-----\-----\-----\-----.py", line 54, in vs.
await ctx.send(embed=aciklama,view=kabul(),view2=ret())
^^^^^^^
TypeError: kabul.__init__() missing 1 required positional argument: 'ctx'.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\-----\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\discord\ext\commands\bot.py", line 1350, in invoke.
await ctx.command.invoke(ctx)
File "C:\Users\-----\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\discord\ext\commands\core.py", line 1029, in invoke.
await injected(*ctx.args, **ctx.kwargs) # type: ignore.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\-----\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\discord\ext\commands\core.py", line 244, in wrapped.
raise CommandInvokeError(exc) from exc.
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: kabul.__init__() missing 1 required positional argument: 'ctx'