Discord does not condone bots creating invites without the expressed consent of the guild owner/admi
Discord does not condone bots creating invites without the expressed consent of the guild owner/admins. source (Discord Developer Policy)
You may not use the APIs in any way to [...] process Discord Data in a way that surprises or violates Discord users' expectations.
- If you are experiencing problems with a particular guild, have your bot leave and/or blacklist it