#Getting a 405 error
1 messages · Page 1 of 1 (latest)
read pins in #969580926885580801
i used this: pip install git+https://github.com/Pycord-Development/pycord
GitHub
Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API - GitHub - Pycord-Development/pycord: Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API
i already had it tho
nothing shows up
tho it lets me see that
so its weird
was it working before?
figured out that my friends had slash cmds off for some reason
but now
@bot.slash_command(guild_ids=[912799931515949168])
async def sendemail(ctx: discord.ApplicationContext,
numberofsends: Option(int, "How many times to send") ,
subject: Option(str, "The title of the email", required=False),
message: Option(str, "The message of the email", required=False),
attachment: Option(discord.Attachment, "The attachment of the email", required=False)):
the parameters arent being added
no matter how many times i restart the bot