Vor ein paar Tagen funktionierte der Bot noch einwandfrei, aber beim Startversuch heute tauchte diese Fehlermeldung auf... Ich bin mir ziemlich sicher, dass sich am Code nichts verändert hat. Und ja da steht das Bottoken, dass man nicht preisgeben sollte, aber ich wollte es eh ändern und habe es auch schon. Ich hoffe, dass mir jemand helfen kann,
liebe Grüße^^
Traceback (most recent call last):
File "C:/Users/carlm/Desktop/pythonstuff/EventBot/EventBot.py", line 211, in <module>
client.run("NzI3MTA1NTc4NzU2NzM0OTg2.XxiKCg.isHKPnLfRTycKtDdAKAPohZU7KI")
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 640, in run
return future.result()
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 621, in runner
await self.start(*args, **kwargs)
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 585, in start
await self.connect(reconnect=reconnect)
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 499, in connect
await self._connect()
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 463, in _connect
await self.ws.poll_event()
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\gateway.py", line 471, in poll_event
await self.received_message(msg)
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\gateway.py", line 425, in received_message
func(data)
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\state.py", line 750, in parse_guild_create
guild = self._get_create_guild(data)
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\state.py", line 725, in _get_create_guild
guild._from_data(data)
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\guild.py", line 297, in _from_data
self._sync(guild)
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\guild.py", line 324, in _sync
self._add_channel(TextChannel(guild=self, data=c, state=self._state))
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\channel.py", line 107, in __init__
self._update(guild, data)
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\channel.py", line 131, in _update
self._fill_overwrites(data)
File "C:\Users\carlm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\abc.py", line 294, in _fill_overwrites
self._overwrites.append(_Overwrites(id=overridden_id, **overridden))
TypeError: __new__() got an unexpected keyword argument 'deny_new'
Process finished with exit code 1
o
Fehlermeldung eines Discordbotscripts
Ohne Quelltext und nur mit einem Stacktrace fällt die Diagnose schwer. Du kannst aber dem Tipp von @__deets__ folgen und schauen, ob sich etwas an der Bibliothek geändert hat. Welche ist es denn, die du für discord nutzt?
Ich hab mich gerade noch ein wenig mit dem fehler beschäftigt und es scheint als würde der Discordclient nicht mehr das Token so annehmen wie bisher, also client.run([token]) funktioniert nicht mehr als Ende des Skripts.