Skip to content
Advertisement

Tag: invite

Discord.py REWRITE – How to make a Guild Invite

I am trying to make my bot create an invite This gives an error ‘bot’ object has no Attribute ‘create_invite’ I am using the Discord.py Rewrite. Thanks in advance! Answer You’ll need to specify what you’re making the invite for, because the bot doesn’t currently have a target for the invite: References: TextChannel.create_invite() abc.GuildChannel – The general target that’s needed

Advertisement