Skip to content

Discord Bot #435

Description

@NotWeyn

Describe the bug
I enter the bot token and just run the bot, first a green notification appears and I wait for a while and then the process is stopped with a red notification. AI active or not, I tried it in both cases and it didn't work. I deleted and recreated the bot token many times and even tested it to verify if it works or not, the token is active and correct but it doesn't seem to work correctly with SAP

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'bots tab'
  2. Click on 'discord bot'
  3. Scroll down to 'bot token'
  4. Write bot token
  5. Scroll up to start bot
  6. Click on Start bot button
  7. just wait half minute
  8. See error

Expected behavior
I'm not sure exactly what kind of features I was expecting, but I was hoping to at least be able to run the bot and see the bot active on discord

Screenshots
No i dont have a one , it's very difficult(for screenshots).

Desktop (please complete the following information):

  • OS: [Cachyos (arch distro)]
  • Browser [zen-browser]
  • Version [ Zen-browser v1.17.15b • Firefox 146.0.1 ]

Additional context
logs :
[14:48:10] [ERROR] �[1;33m[ERROR] (discord_bot_manager.py:75)_run_bot_thread �[0mDiscord 机器人线程异常
[14:48:10] [ERROR] Traceback (most recent call last):
[14:48:10] [ERROR] File "aiohttp/connector.py", line 1283, in _wrap_create_connection
[14:48:10] [ERROR] File "uvloop/loop.pyx", line 2088, in create_connection
[14:48:10] [ERROR] File "uvloop/loop.pyx", line 2083, in uvloop.loop.Loop.create_connection
[14:48:10] [ERROR] ConnectionResetError: [Errno 104] Connection reset by peer
[14:48:10] [ERROR] The above exception was the direct cause of the following exception:
[14:48:10] [ERROR] Traceback (most recent call last):
[14:48:10] [ERROR] File "py/discord_bot_manager.py", line 71, in _run_bot_thread
[14:48:10] [ERROR] File "uvloop/loop.pyx", line 1518, in uvloop.loop.Loop.run_until_complete
[14:48:10] [ERROR] File "discord/client.py", line 846, in start
[14:48:10] [ERROR] File "discord/client.py", line 675, in login
[14:48:10] [ERROR] File "discord/http.py", line 839, in static_login
[14:48:10] [ERROR] File "discord/http.py", line 654, in request
[14:48:10] [ERROR] File "aiohttp/client.py", line 1488, in aenter
[14:48:10] [ERROR] File "aiohttp/client.py", line 770, in _request
[14:48:10] [ERROR] File "aiohttp/client.py", line 725, in _connect_and_send_request
[14:48:10] [ERROR] File "aiohttp/connector.py", line 642, in connect
[14:48:10] [ERROR] File "aiohttp/connector.py", line 1209, in _create_connection
[14:48:10] [ERROR] File "aiohttp/connector.py", line 1581, in _create_direct_connection
[14:48:10] [ERROR] File "aiohttp/connector.py", line 1550, in _create_direct_connection
[14:48:10] [ERROR] File "aiohttp/connector.py", line 1291, in _wrap_create_connection
[14:48:10] [ERROR] aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host discord.com:443 ssl:default [Connection reset by peer]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions