Giter Site home page Giter Site logo

itskekoff / discord-server-copy Goto Github PK

View Code? Open in Web Editor NEW
55.0 55.0 34.0 163 KB

Most powerful discord server cloner. Made using discord.py-self. Can clone entire discord server with messages

License: MIT License

Python 99.62% Batchfile 0.38%
bot copy discord discord-py guild selfbot server

discord-server-copy's People

Contributors

itskekoff avatar ultard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

discord-server-copy's Issues

improper token

can you add the bot=False at the end of the code
Example : bot.run(token, bot=False)
or else your code cant run

Issue

Info API down. Falling back to manual fetching...

config.json is not fond

i dont find config.json and i see eroor create config.json and i dont no waht i can var in config.json
soo yah
and thx

Ratelimited.

Hello, I got the bot to work, however I am getting ratelimited crashing the program. Is there any way to prevent this?

How to clone message history

i have my config.json set like this and i am using this command to close the server : cp!clone but it won't clone the message history. i saw something about the queue so i thought that disabling it would solve but it didn't.
{
"token": "",
"prefix": "cp!",
"debug": true,
"clone_settings": {
"name_syntax": "%original%-copy",
"clone_delay": 1.337,
"clear_guild": true,
"icon": true,
"banner": true,
"roles": true,
"channels": true,
"overwrites": true,
"emoji": false,
"stickers": false
},
"clone_messages": {
"comment": "Clone messages in all channels (last messages). Long limit - long time need to copy",
"enabled": true,
"comment_use_queue": "Clone messages using queue for each channels and caches all messages before sending",
"use_queue": false,
"oldest_first": true,
"comment_parallel": "Clone messages for all channels (can be used with queue)",
"parallel": true,
"webhooks_clear": true,
"limit": 8196,
"delay": 0.65
},
"live_update": {
"comment": "Automatically detect new messages and send it via webhook",
"comment_2": "Also works with clone_messages (starts sending when channel is fully processed)",
"enabled": false,
"message_delay": 0.75
}
}

Hi

Hi, me starting start.bat, don't download config.json and say "File "main.py", line 48
data: Configuration = Configuration(config_path)
^
SyntaxError: invalid syntax

Update’s dosen’t found??

05:03:21 | INFO | Updates doesn't found.
Traceback (most recent call last):
File "/home/runner/discord-server-copy-1/main.py", line 404, in
bot.run(token, log_handler=file_handler, log_formatter=formatter)
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/client.py", line 938, in run
asyncio.run(runner())
File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/client.py", line 927, in runner
await self.start(token, reconnect=reconnect)
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/client.py", line 857, in start
await self.login(token)
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/client.py", line 698, in login
data = await state.http.static_login(token.strip())
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/http.py", line 994, in static_login
data = await self.get_me()
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/http.py", line 772, in request
raise HTTPException(response, data)
discord.errors.HTTPException: 429 Too Many Requests (error code: 0): selfbots are against Discord's terms of service

Webhook issue

After some message sended by webhooks there is an error appearing, fix it pls

Error in startup

09-12-2023-discord.log
09-12-2023.log

Hi, I encountered an error at startup.

22:12:58 | INFO | Updates doesn't found.
Traceback (most recent call last):
File "main.py", line 405, in
bot.run(token, log_handler=file_handler, log_formatter=formatter)
File "D:\Новая папка\lib\site-packages\discord\client.py", line 938, in run
asyncio.run(runner())
File "D:\Новая папка\lib\asyncio\runners.py", line 43, in run
return loop.run_until_complete(main)
File "D:\Новая папка\lib\asyncio\base_events.py", line 608, in run_until_complete
return future.result()
File "D:\Новая папка\lib\site-packages\discord\client.py", line 927, in runner
await self.start(token, reconnect=reconnect)
File "D:\Новая папка\lib\site-packages\discord\client.py", line 857, in start
await self.login(token)
File "D:\Новая папка\lib\site-packages\discord\client.py", line 698, in login
data = await state.http.static_login(token.strip())
File "D:\Новая папка\lib\site-packages\discord\http.py", line 991, in static_login
await self.startup()
File "D:\Новая папка\lib\site-packages\discord\http.py", line 562, in startup
self.super_properties, self.encoded_super_properties = sp, _ = await utils._get_info(session)
File "D:\Новая папка\lib\site-packages\discord\utils.py", line 1446, in _get_info
bn = await _get_build_number(session)
File "D:\Новая папка\lib\site-packages\discord\utils.py", line 1474, in _get_build_number
build_url = 'https://discord.com/assets/' + re.compile(r'assets/+([a-z0-9]+).js').findall(login_page)[-2] + '.js'
IndexError: list index out of range
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000021FF78FA040>
Traceback (most recent call last):
File "D:\Новая папка\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "D:\Новая папка\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "D:\Новая папка\lib\asyncio\base_events.py", line 711, in call_soon
self._check_closed()
File "D:\Новая папка\lib\asyncio\base_events.py", line 504, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000021FF78FA040>
Traceback (most recent call last):
File "D:\Новая папка\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "D:\Новая папка\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "D:\Новая папка\lib\asyncio\base_events.py", line 711, in call_soon
self._check_closed()
File "D:\Новая папка\lib\asyncio\base_events.py", line 504, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000021FF78FA040>
Traceback (most recent call last):
File "D:\Новая папка\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "D:\Новая папка\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "D:\Новая папка\lib\asyncio\base_events.py", line 711, in call_soon
self._check_closed()
File "D:\Новая папка\lib\asyncio\base_events.py", line 504, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000021FF78FA040>
Traceback (most recent call last):
File "D:\Новая папка\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "D:\Новая папка\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "D:\Новая папка\lib\asyncio\base_events.py", line 711, in call_soon
self._check_closed()
File "D:\Новая папка\lib\asyncio\base_events.py", line 504, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x0000021FF78FA040>
Traceback (most recent call last):
File "D:\Новая папка\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "D:\Новая папка\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "D:\Новая папка\lib\asyncio\base_events.py", line 711, in call_soon
self._check_closed()
File "D:\Новая папка\lib\asyncio\base_events.py", line 504, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

lmao sorry

It doesn't clone all the channels, but it doesn't tell me there is an error

If restarted, messages stop cloning to copy server

It works perfectly after cloning a fresh server, but if i lose internet or restart with ctrl + Z and start main.py any new text won't appear. having to reclone the server every time like it forgot.

issue

07:03:26 | INFO | Updates doesn't found.
Traceback (most recent call last):
File "/home/runner/discord-server-copy-1/main.py", line 405, in
bot.run(token, log_handler=file_handler, log_formatter=formatter)
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/client.py", line 938, in run
asyncio.run(runner())
File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/nix/store/xf54733x4chbawkh1qvy9i1i4mlscy1c-python3-3.10.11/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/client.py", line 927, in runner
await self.start(token, reconnect=reconnect)
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/client.py", line 857, in start
await self.login(token)
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/client.py", line 698, in login
data = await state.http.static_login(token.strip())
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/http.py", line 991, in static_login
await self.startup()
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/http.py", line 562, in startup
self.super_properties, self.encoded_super_properties = sp, _ = await utils._get_info(session)
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/utils.py", line 1446, in _get_info
bn = await _get_build_number(session)
File "/home/runner/discord-server-copy-1/.pythonlibs/lib/python3.10/site-packages/discord/utils.py", line 1478, in get_build_number
return int(build_file[build_index : build_index + 6])
ValueError: invalid literal for int() with base 10: 'ER_V2
'

Error when I run python3 main.py

File "/Users/juneychan/Downloads/discord-server-copy-main/main.py", line 406, in
bot.run(token, log_handler=file_handler, log_formatter=formatter)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/discord/client.py", line 631, in run
return future.result()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/discord/client.py", line 610, in runner
await self.start(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/discord/client.py", line 571, in start
raise TypeError("unexpected keyword argument(s) %s" % list(kwargs.keys()))
TypeError: unexpected keyword argument(s) ['log_handler', 'log_formatter']

Bug?

Hello i have bug with copy server

* Updates doesn't found.
[2023-05-13 14:24:55] [INFO    ] discord.client: Logging in using static token.
[2023-05-13 14:24:56] [INFO    ] discord.http: Found user agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36, build number 197835.
[2023-05-13 14:25:00] [INFO    ] discord.gateway: Connected to Gateway (Session ID: 4a92ddb047e0ac00099dedf68fb72bd4).
* Logged on as UNKNOW#0001
[2023-05-13 14:25:01] [ERROR   ] discord.client: Ignoring exception in on_message
Traceback (most recent call last):
  File "F:\Download\discord-server-copy-main\discord-server-copy-main\venv\lib\site-packages\discord\client.py", line 507, in _run_event
    await coro(*args, **kwargs)
  File "F:\Download\discord-server-copy-main\discord-server-copy-main\main.py", line 352, in on_message
    await bot.process_commands(message=message)
TypeError: process_commands() got some positional-only arguments passed as keyword arguments: 'message'
[2023-05-13 14:25:01] [ERROR   ] discord.client: Ignoring exception in on_message
Traceback (most recent call last):
  File "F:\Download\discord-server-copy-main\discord-server-copy-main\venv\lib\site-packages\discord\client.py", line 507, in _run_event
    await coro(*args, **kwargs)
  File "F:\Download\discord-server-copy-main\discord-server-copy-main\main.py", line 352, in on_message
    await bot.process_commands(message=message)
TypeError: process_commands() got some positional-only arguments passed as keyword arguments: 'message'

I try using Python3.10 and Python3.9, and i become this error

Always stuck at same step and forum not copied

The process is always stay at step
Processing community settings & additional channels...

And the forum are not copied
I see for exemple a forum in the log but is not copied
Got overwrites mapping for channel #program-follow-up

automatic

Is there anyway to clone server without typing the command?
Im trying to clone a server but i dont have typing perms

Ошибка когда создаются каналы:

Ignoring exception in command copy:
Traceback (most recent call last):
File "C:\Users\Степа\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\Степа\Desktop\discord-server-copy-main\main.py", line 374, in copy
await cloner.clone_channels(perms=clone_permissions)
File "C:\Users\Степа\Desktop\discord-server-copy-main\main.py", line 239, in clone_channels
new_channel = await self.new_guild.create_voice_channel(name=channel.name, position=channel.position,
File "C:\Users\Степа\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\guild.py", line 1118, in create_voice_channel
data = await self._create_channel(name, overwrites, ChannelType.voice, category, **options)
File "C:\Users\Степа\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\http.py", line 302, in request
raise HTTPException(r, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In bitrate: int value should be less than or equal to 96000.

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

Traceback (most recent call last):
File "C:\Users\Степа\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\Степа\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\core.py", line 863, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\Users\Степа\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\ext\commands\core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In bitrate: int value should be less than or equal to 96000.

Bug

[2023-05-15 19:33:52] [ERROR ] discord.ext.commands.bot: Ignoring exception in command copy
Traceback (most recent call last):
File "C:\Users\xiv\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\core.py", line 236, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\xiv\Desktop\discordcopy\discord-server-copy-main\main.py", line 373, in copy
await cloner.clone_channels(perms=clone_permissions)
File "C:\Users\xiv\Desktop\discordcopy\discord-server-copy-main\main.py", line 223, in clone_channels
overwrites[self.mappings["roles"][role]] = permissions
KeyError: <Object id=235148962103951360 type=<class 'discord.abc.User'>>

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

Traceback (most recent call last):
File "C:\Users\xiv\AppData\Local\Programs\Python\Python39\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\Python39\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\Python39\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: KeyError: <Object id=235148962103951360 type=<class 'discord.abc.User'>>

Bug

[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'

Error

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

Error when running python3 main.py

Traceback (most recent call last):
File "/home/runner/discord-server-copy-1/main.py", line 332, in
bot = commands.Bot(command_prefix=prefix, case_insensitive=True,
TypeError: BotBase.init() missing 1 required keyword-only argument: 'intents'

Improper Token Error

discord.errors.LoginFailure: Improper token has been passed.

Getting this error upon running. I have tried tons of stuff and have not been able to fix it, any ideas?

message forwarding not resuming after crash

Sorry if this is not a bug, maybe just a question.

When I ran main.py all worked fine and messages were getting forwarded from one server to another as they arrive.

However my terminal crashed (im in macbook), so I re-started terminal, re-ran main.py, it tells logged as xxxxx successfully, but messages are no longer forwarded from one server to another as they arrive.

Am I doing something wrong here?.

Register_on_message

SyntaxError: annotated name 'register_on_message' can't be global

Привет, как это починить?
Hello, how to fix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.