1. <i id='qkQ38'><tr id='qkQ38'><dt id='qkQ38'><q id='qkQ38'><span id='qkQ38'><b id='qkQ38'><form id='qkQ38'><ins id='qkQ38'></ins><ul id='qkQ38'></ul><sub id='qkQ38'></sub></form><legend id='qkQ38'></legend><bdo id='qkQ38'><pre id='qkQ38'><center id='qkQ38'></center></pre></bdo></b><th id='qkQ38'></th></span></q></dt></tr></i><div id='qkQ38'><tfoot id='qkQ38'></tfoot><dl id='qkQ38'><fieldset id='qkQ38'></fieldset></dl></div>
      <bdo id='qkQ38'></bdo><ul id='qkQ38'></ul>
  2. <tfoot id='qkQ38'></tfoot>

  3. <legend id='qkQ38'><style id='qkQ38'><dir id='qkQ38'><q id='qkQ38'></q></dir></style></legend>

      <small id='qkQ38'></small><noframes id='qkQ38'>

      启动时加载不和谐机器人时出错.通过 repl.it 托管

      时间:2023-10-10
        <tfoot id='tnTqq'></tfoot>

            <tbody id='tnTqq'></tbody>

            1. <small id='tnTqq'></small><noframes id='tnTqq'>

              • <bdo id='tnTqq'></bdo><ul id='tnTqq'></ul>

              • <i id='tnTqq'><tr id='tnTqq'><dt id='tnTqq'><q id='tnTqq'><span id='tnTqq'><b id='tnTqq'><form id='tnTqq'><ins id='tnTqq'></ins><ul id='tnTqq'></ul><sub id='tnTqq'></sub></form><legend id='tnTqq'></legend><bdo id='tnTqq'><pre id='tnTqq'><center id='tnTqq'></center></pre></bdo></b><th id='tnTqq'></th></span></q></dt></tr></i><div id='tnTqq'><tfoot id='tnTqq'></tfoot><dl id='tnTqq'><fieldset id='tnTqq'></fieldset></dl></div>
                <legend id='tnTqq'><style id='tnTqq'><dir id='tnTqq'><q id='tnTqq'></q></dir></style></legend>
                本文介绍了启动时加载不和谐机器人时出错.通过 repl.it 托管的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                几天前,我的 discord 机器人突然离线,我通过 repl.it 托管我的机器人,但我无法让它工作,因为它给出了一个肮脏的错误.

                A couple days ago my discord bot suddenly went offline, i host my bot through repl.it and i cant get it to work as it gives a dirty error.

                Traceback (most recent call last):
                  File "main.py", line 584, in <module>
                    bot.run("NTg0NjkyODA1NTcwNjU4MzEz.XPOnmw.VpE_ILHaDdQ6k--OIBRovc1h80o")
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 640, in run
                    return future.result()
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 621, in runner
                    await self.start(*args, **kwargs)
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 585, in start
                    await self.connect(reconnect=reconnect)
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 499, in connect
                    await self._connect()
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 463, in _connect
                    await self.ws.poll_event()
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/gateway.py", line 471, in poll_even
                t
                    await self.received_message(msg)
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/gateway.py", line 425, in received_
                message
                    func(data)
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/state.py", line 750, in parse_guild
                _create
                    guild = self._get_create_guild(data)
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/state.py", line 725, in _get_create_guild
                    guild._from_data(data)
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/guild.py", line 297, in _from_data
                    self._sync(guild)
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/guild.py", line 328, in _sync
                    self._add_channel(CategoryChannel(guild=self, data=c, state=self._state))
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/channel.py", line 726, in __init__
                    self._update(guild, data)
                  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/channel.py", line 737, in _update
                    self._fill_overwrites(data)
                  File "/opt/virtualenvs/python3/lib/python3.8/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'
                

                这是在控制台中,我不知道它是什么意思.我们没有更改任何代码,它只是离线并停止工作.

                this is in the console and i dont know what it means. we didnt change any code, nothing it just went offline and stop working.

                推荐答案

                只需更新 discord.py 模块即可.Discord 将 api 域从 discordapp.com 切换到 discord.com.这就是代码崩溃的原因.

                Just update the discord.py module. Discord switched the api domain from discordapp.com to discord.com. That is the reason for the code crashing.

                这篇关于启动时加载不和谐机器人时出错.通过 repl.it 托管的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:Python Discord Bot - python clear_reaction() 清除所有反应 下一篇:如何获取某人帐户的年龄?不和谐.py

                相关文章

                最新文章

                  <bdo id='z0cOQ'></bdo><ul id='z0cOQ'></ul>

                  <legend id='z0cOQ'><style id='z0cOQ'><dir id='z0cOQ'><q id='z0cOQ'></q></dir></style></legend>

                  <small id='z0cOQ'></small><noframes id='z0cOQ'>

                    <tfoot id='z0cOQ'></tfoot>
                    <i id='z0cOQ'><tr id='z0cOQ'><dt id='z0cOQ'><q id='z0cOQ'><span id='z0cOQ'><b id='z0cOQ'><form id='z0cOQ'><ins id='z0cOQ'></ins><ul id='z0cOQ'></ul><sub id='z0cOQ'></sub></form><legend id='z0cOQ'></legend><bdo id='z0cOQ'><pre id='z0cOQ'><center id='z0cOQ'></center></pre></bdo></b><th id='z0cOQ'></th></span></q></dt></tr></i><div id='z0cOQ'><tfoot id='z0cOQ'></tfoot><dl id='z0cOQ'><fieldset id='z0cOQ'></fieldset></dl></div>