Is there any way to get the person who invited the bot to the server? My point is to dm that person to tell her what to do so things go smoothly and I don't want the bot to just write it in a random text channel that everybody could see. Thanks in advance
There isn't any way yet to know who invited the bot.
What you can do is DM the Server Owner when its added to a Server.
Get person who invited the discord bot discord.py