itskekoff / discord-server-copy

Most powerful discord server cloner. Made using discord.py-self. Can clone entire discord server with messages
MIT License
86 stars 69 forks source link

Error #26

Closed Fluff4life closed 1 year ago

Fluff4life commented 1 year ago

It clones the roles successfully, but it starts cloning the channels, but then it just stops creating the rest of the channels. I checked the log file and this is the error msg I got 2023-06-03 15:35:37,935 | INFO | Logging in using static token. 2023-06-03 15:35:38,401 | INFO | Found user agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36, build number 202327. 2023-06-03 15:35:40,826 | INFO | Connected to Gateway (Session ID: 32416c55e699870470ec232293c01082). 2023-06-03 15:35:42,252 | WARNING | Member list scraping failed for 668080381094002688 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:35:42,253 | WARNING | Gateway is ratelimited, waiting 56.55 seconds. 2023-06-03 15:35:42,254 | WARNING | Member list scraping failed for 942310322264502302 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:35:42,254 | WARNING | Member list scraping failed for 805833894636421151 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:35:42,255 | WARNING | Member list scraping failed for 1022803713020145685 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:35:42,255 | WARNING | Member list scraping failed for 1101608759714910249 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:35:42,255 | WARNING | Member list scraping failed for 928222962413367386 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:35:42,255 | WARNING | Member list scraping failed for 1082833405231771678 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:35:42,256 | WARNING | Member list scraping failed for 1075482889174663268 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:35:42,256 | WARNING | Member list scraping failed for 971536577312489495 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:35:42,257 | WARNING | Member list scraping failed for 918692451798118450 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:35:42,258 | WARNING | Member list scraping failed for 1104059223383478403 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:35:53,221 | WARNING | Timed out waiting for member list subscriptions for guild_id 983517606445215804. 2023-06-03 15:36:03,225 | WARNING | Timed out waiting for member list subscriptions for guild_id 1071475016920727602. 2023-06-03 15:36:13,234 | WARNING | Timed out waiting for member list subscriptions for guild_id 1112434479483601006. 2023-06-03 15:36:23,240 | WARNING | Timed out waiting for member list subscriptions for guild_id 772143269563072533. 2023-06-03 15:36:33,249 | WARNING | Timed out waiting for member list subscriptions for guild_id 877330528389431348. 2023-06-03 15:36:38,800 | WARNING | Gateway is ratelimited, waiting 0.00 seconds. 2023-06-03 15:46:01,472 | ERROR | Ignoring exception in command copy Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/discord/ext/commands/core.py", line 236, in wrapped ret = await coro(*args, **kwargs) File "/Users/juneychan/Downloads/z/main.py", line 378, in copy await cloner.clone_channels(perms=clone_overwrites) File "/Users/juneychan/Downloads/z/main.py", line 250, in clone_channels self.mappings["categories"][ KeyError: None

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

Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 1169, in invoke await ctx.command.invoke(ctx) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/discord/ext/commands/core.py", line 1020, in invoke await injected(*ctx.args, *ctx.kwargs) # type: ignore File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/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: KeyError: None 2023-06-03 15:51:22,760 | INFO | Logging in using static token. 2023-06-03 15:51:23,456 | INFO | Found user agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36, build number 202327. 2023-06-03 15:51:26,255 | INFO | Connected to Gateway (Session ID: ca3e150597f37406ed1b3e0e9bb338b3). 2023-06-03 15:51:31,799 | WARNING | Member list scraping failed for 668080381094002688 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:31,799 | WARNING | Gateway is ratelimited, waiting 52.12 seconds. 2023-06-03 15:51:31,800 | WARNING | Member list scraping failed for 942310322264502302 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:31,800 | WARNING | Member list scraping failed for 805833894636421151 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:31,801 | WARNING | Member list scraping failed for 1022803713020145685 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:31,801 | WARNING | Member list scraping failed for 1101608759714910249 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:31,801 | WARNING | Member list scraping failed for 1114639575617388634 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:31,802 | WARNING | Member list scraping failed for 928222962413367386 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:31,802 | WARNING | Member list scraping failed for 1082833405231771678 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:31,803 | WARNING | Member list scraping failed for 1075482889174663268 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:31,803 | WARNING | Member list scraping failed for 971536577312489495 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:31,804 | WARNING | Member list scraping failed for 918692451798118450 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:31,804 | WARNING | Member list scraping failed for 1104059223383478403 (Failed to automatically choose channels; please specify them manually). 2023-06-03 15:51:43,003 | WARNING | Timed out waiting for member list subscriptions for guild_id 1112152108968452129. 2023-06-03 15:51:53,008 | WARNING | Timed out waiting for member list subscriptions for guild_id 983517606445215804. 2023-06-03 15:52:03,015 | WARNING | Timed out waiting for member list subscriptions for guild_id 1071475016920727602. 2023-06-03 15:52:13,017 | WARNING | Timed out waiting for member list subscriptions for guild_id 1112434479483601006. 2023-06-03 15:52:23,019 | WARNING | Timed out waiting for member list subscriptions for guild_id 772143269563072533. 2023-06-03 16:00:24,655 | ERROR | Ignoring exception in command copy Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/discord/ext/commands/core.py", line 236, in wrapped ret = await coro(args, **kwargs) File "/Users/juneychan/Downloads/z/main.py", line 378, in copy await cloner.clone_channels(perms=clone_overwrites) File "/Users/juneychan/Downloads/z/main.py", line 250, in clone_channels self.mappings["categories"][ KeyError: None

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

Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 1169, in invoke await ctx.command.invoke(ctx) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/discord/ext/commands/core.py", line 1020, in invoke await injected(*ctx.args, **ctx.kwargs) # type: ignore File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/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: KeyError: None