Sending Invite from guild 1 to guild 2

I am developing a way to generate a single use invite from a guild, we'll call it Guild One.

If I was to do !invite <@user> in Guild 2, it would send them the 1 use invite that the bot generated from guild 1 and send it to the mentioned <@user> via dms from guild 2. (<@user> is in guild 2, but not guild 1)

NOTE: I am not trying to advertise any guilds neither with any intentions of breaking discord ToS, all of this is within MY Servers.

Any help would be appreciated :)

Read more here:

Content Attribution

This content was originally published by bigballer123 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: