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

Error with serverload #106

Open
ghost opened this issue Mar 25, 2019 · 1 comment
Open

Error with serverload #106

ghost opened this issue Mar 25, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 25, 2019

Hello, so i used serversave to save a server, and when i try to load it on another server, i get this error:
Beginning server load process...
Loading roles...
Loading categories...
Loading text channels...
Loading voice channels...
Ignoring exception in command serverload
Traceback (most recent call last):
File "C:\Users\mattl\AppData\Roaming\Python\Python36\site-packages\discord\ext\commands\core.py", line 60, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\mattl\Desktop\Developement\Discord\Discord-Selfbot-master\Discord-Selfbot-master\custom_cogs\serversave.py", line 303, in serverload
await channel_obj.edit(name=channel["name"], topic=channel["topic"], category=category, reason="Loading saved server")
KeyError: 'topic'

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

Traceback (most recent call last):
File "C:\Users\mattl\AppData\Roaming\Python\Python36\site-packages\discord\ext\commands\bot.py", line 876, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\mattl\AppData\Roaming\Python\Python36\site-packages\discord\ext\commands\core.py", line 506, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\Users\mattl\AppData\Roaming\Python\Python36\site-packages\discord\ext\commands\core.py", line 69, in wrapped
raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'topic'

is there something i'm doing wrong?
also i'm aware it's an old project and it may be discord who changed how server worked or something.
anyway it would be really great if you could reply, thanks in advance!

@DeadBread76
Copy link

big bruh monument

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

1 participant