imvast / Discord-MassDM

a simple tool to massdm a server on discord with role blacklist
104 stars 25 forks source link

Json Not Sterlize #11

Open BeastTrusted opened 6 months ago

BeastTrusted commented 6 months ago

20:55:44 DBG » Scraping... Traceback (most recent call last): File "F:\Discord-MassDM-main\main.py", line 307, in invite, users, tokens, messages = start() File "F:\Discord-MassDM-main\main.py", line 244, in start guild_id = Joiner(token, invite).JoinServer().get("id") File "F:\Discord-MassDM-main\main.py", line 122, in JoinServer response = self.client.post( File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\site-packages\tls_client\sessions.py", line 485, in post return self.execute_request(method="POST", url=url, data=data, json=json, **kwargs) File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\site-packages\tls_client\sessions.py", line 328, in execute_request json = dumps(json) File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\json__init__.py", line 231, in dumps return _default_encoder.encode(obj) File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\json\encoder.py", line 199, in encode chunks = self.iterencode(o, _one_shot=True) File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\json\encoder.py", line 257, in iterencode return _iterencode(o, 0) File "C:\Users\Toshiba\AppData\Local\Programs\Python\Python310\lib\json\encoder.py", line 179, in default raise TypeError(f'Object of type {o.class.name} ' TypeError: Object of type DataObject is not JSON serializable

BeastTrusted commented 6 months ago

This Is SHowing