Closed
Description
Summary
await bot.create_guild(name=...) returns 403 Forbidden (error code: 10008): Unknown Message
Reproduction Steps
⠀
Code
@bot.command(name="webhooksetup")
async def webhooksetup(ctx):
await ctx.message.delete()
file = json.loads(open("Data/webhooks.json", "r").read())
guild = await bot.create_guild(name="Webhooks") # <- Here it breaks
Expected Results
Create guild.
Actual Results
403 Forbidden (error code: 10008): Unknown Message
incident
System Information
- Python v3.10.11-final
- discord.py-self v2.0.0-final
- aiohttp v3.8.4
- system info: Windows 10 10.0.19045
Checklist
- I have searched the open issues for duplicates.
- I have shared the entire traceback.
- I am using a user token (and it isn't visible in the code).
Additional Information
⠀