#405 Method Not Allowed (error code 0) 405 Method Not Allowed
1 messages · Page 1 of 1 (latest)
that is 403, not 405
did you invite your bot with application.commands oauth scope?
no
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
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
?tag install
- Uninstall
discord.pyor any other forks of discord.py you might have with the namespacediscord.
python -m pip uninstall discord.py discord -y
- 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
you want alpha aka master
i can try again
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
send the error
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```
that error is fixed in master so something is up with your environment
ok then replit is broken
Read this to find out how you can install Pycord in replit - https://namantech.me/pycord/installation/#replit
How to install the Py-cord library - Pycord Guide
[packager]
ignoredPackages=["discord.py", "discord"]
please add the pip install like in the example
pip install -U git+https://github.com/Pycord-Development/pycord
I got the error too and using beta branch i think
but does the master branch have the pagination support?
Cause its been a while since i've coded my bot and i don't know the changes
master is newer than beta, it has everything beta has
oh my that was not difficult and its now fixed
what do u use?
Private server at home, but i will use it on replit cause of issues with server rn
oh a nice privet server wow
Mhmm, how'd you fix it on repl btw
If i get the issue i can follow what you did
using the install guide
I was gonna use heroku but didn't figure out how to use it, so jut setup a server instead 🤷