#405 Method Not Allowed (error code 0) 405 Method Not Allowed

1 messages · Page 1 of 1 (latest)

raw pivot
#

@floral radish

floral radish
#

that is 403, not 405

floral radish
raw pivot
#

wrong image

#

thats my console lol

floral radish
#

do you have jsk?

raw pivot
#

no

raw pivot
#

pycord

floral radish
#

the full output please

#

and the command you ran to install pycord

raw pivot
#

pip

Requirement already satisfied: py-cord==2.0.0b7 in /opt/virtualenvs/python3/lib/python3.8/site-packages (2.0.0b7)
Requirement already satisfied: aiohttp<3.9.0,>=3.6.0 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from py-cord==2.0.0b7) (3.8.1)
Requirement already satisfied: yarl<2.0,>=1.0 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (1.7.2)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (2.0.12)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (4.0.2)
Requirement already satisfied: multidict<7.0,>=4.5 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (6.0.2)
Requirement already satisfied: attrs>=17.3.0 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (21.4.0)
Requirement already satisfied: aiosignal>=1.1.2 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (1.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (1.3.0)
Requirement already satisfied: idna>=2.0 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from yarl<2.0,>=1.0->aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (3.3)
WARNING: You are using pip version 21.2.dev0; however, version 22.0.4 is available.
You should consider upgrading via the '/opt/virtualenvs/python3/bin/python3 -m pip install --upgrade pip' command.
~/BobCat-Canary$ ^C
~/BobCat-Canary$ ```
#

@floral radish i think thats what you want

floral radish
#

you installed py-cord==2.0.0b7 and not pip install -U git+https://github.com/Pycord-Development/pycord?

#

py-cord==2.0.0b7 isn't master

raw pivot
#

?tag install

vivid valveBOT
#
  1. Uninstall discord.py or any other forks of discord.py you might have with the namespace discord.
python -m pip uninstall discord.py discord -y
  1. Install py-cord
python -m pip install py-cord

Installing other builds:
Note: You need to have git installed. Use !git to find out how to install git.

Updating the module to Alpha (unstable):

pip install -U git+https://github.com/Pycord-Development/pycord

Updating to beta:

pip install py-cord==2.0.0b7
floral radish
#

you want alpha aka master

raw pivot
#

i can try again

raw pivot
# floral radish you want alpha aka master
Collecting git+https://github.com/Pycord-Development/pycord
  Cloning https://github.com/Pycord-Development/pycord to /tmp/pip-req-build-x7h_3tve
  Running command git clone -q https://github.com/Pycord-Development/pycord /tmp/pip-req-build-x7h_3tve
Requirement already satisfied: aiohttp<3.9.0,>=3.6.0 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from py-cord==2.0.0b7) (3.8.1)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (2.0.12)
Requirement already satisfied: frozenlist>=1.1.1 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (1.3.0)
Requirement already satisfied: aiosignal>=1.1.2 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (1.2.0)
Requirement already satisfied: yarl<2.0,>=1.0 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (1.7.2)
Requirement already satisfied: attrs>=17.3.0 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (21.4.0)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (4.0.2)
Requirement already satisfied: multidict<7.0,>=4.5 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (6.0.2)
Requirement already satisfied: idna>=2.0 in /opt/virtualenvs/python3/lib/python3.8/site-packages (from yarl<2.0,>=1.0->aiohttp<3.9.0,>=3.6.0->py-cord==2.0.0b7) (3.3)
WARNING: You are using pip version 21.2.dev0; however, version 22.0.4 is available.
You should consider upgrading via the '/opt/virtualenvs/python3/bin/python3 -m pip install --upgrade pip' command.
~/BobCat-Canary$ ```
#

still the errror

floral radish
#

send the error

raw pivot
#
Traceback (most recent call last):
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 382, in _run_event
    await coro(*args, **kwargs)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/bot.py", line 1147, in on_connect
    await self.sync_commands()
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/bot.py", line 770, in sync_commands
    await self._bot.http.bulk_upsert_command_permissions(self._bot.user.id, guild_id, guild_cmd_perms)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/http.py", line 359, in request
    raise HTTPException(response, data)
discord.errors.HTTPException: 405 Method Not Allowed (error code: 0): 405: Method Not Allowed```
floral radish
#

that error is fixed in master so something is up with your environment

raw pivot
#

ok then replit is broken

floral radish
#

can you send your .replit file

#

!replit

tidal quarryBOT
raw pivot
#

[packager]
ignoredPackages=["discord.py", "discord"]

floral radish
#

please add the pip install like in the example

#

pip install -U git+https://github.com/Pycord-Development/pycord

lucid charm
floral radish
lucid charm
#

Oh i see

#

Well ok then

raw pivot
lucid charm
raw pivot
#

oh a nice privet server wow

floral radish
#

that's what I use too

#

I was using heroku but I wanted a real db

lucid charm
floral radish
#

using the install guide

lucid charm