Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug #18

Closed
xivgit opened this issue May 14, 2023 · 3 comments
Closed

Bug #18

xivgit opened this issue May 14, 2023 · 3 comments

Comments

@xivgit
Copy link

xivgit commented May 14, 2023

[2023-05-15 18:48:08] [ERROR ] discord.ext.commands.bot: Ignoring exception in command copy
Traceback (most recent call last):
File "C:\Users\xiv\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\core.py", line 236, in wrapped
ret = await coro(*args, **kwargs)
File "main.py", line 356, in copy
guild: discord.Guild = bot.get_guild(id=server_id) if server_id else ctx.message.guild
TypeError: get_guild() got some positional-only arguments passed as keyword arguments: 'id'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\xiv\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\bot.py", line 1169, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\xiv\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\core.py", line 1020, in invoke
await injected(*ctx.args, **ctx.kwargs) # type: ignore
File "C:\Users\xiv\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\ext\commands\core.py", line 245, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: get_guild() got some positional-only arguments passed as keyword arguments: 'id'

@xivgit
Copy link
Author

xivgit commented May 15, 2023

That is when i try to cp!clone (id server)

@itskekoff
Copy link
Owner

Fixed.

@xivgit
Copy link
Author

xivgit commented May 15, 2023

ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants