Functionalities
Other
$inviteInfo
Returns information about a guild invite with many options.

FUNCTION USAGE

  • $inviteInfo[inviteURL;option]

Properties:

inviteURL - Supplying an invite link or just the code. option - Supply 1 option to return the info from the link.
Bot must be in that server to read the data
channel
author
uses
members
code
temporary
guild
age
deletable
  • channel - Channel ID where the invite was created.
1
bot.Command({
2
name: "info",
3
code: `
4
$inviteInfo[discord.gg/AyhUg68Hl;channel]
5
`
6
})
Copied!
  • author - User ID of the user that made the invite link.
1
bot.Command({
2
name: "info",
3
code: `
4
$inviteInfo[discord.gg/AyhUg68Hl;author]
5
`
6
})
Copied!
  • uses - How many times the link has been used.
1
bot.Command({
2
name: "info",
3
code: `
4
$inviteInfo[discord.gg/AyhUg68Hl;uses]
5
`
6
})
Copied!
  • members - How many members in the server of the link.
1
bot.Command({
2
name: "info",
3
code: `
4
$inviteInfo[discord.gg/AyhUg68Hl;members]
5
`
6
})
Copied!
  • code - Raw invite code without the link.
1
bot.Command({
2
name: "info",
3
code: `
4
$inviteInfo[discord.gg/AyhUg68Hl;code]
5
`
6
})
Copied!
  • temporary - Returns true/false if the link is temporary.
1
bot.Command({
2
name: "info",
3
code: `
4
$inviteInfo[discord.gg/AyhUg68Hl;temporary]
5
`
6
})
Copied!
  • guild - Server ID belonging to the link.
1
bot.Command({
2
name: "info",
3
code: `
4
$inviteInfo[discord.gg/AyhUg68Hl;guild]
5
`
6
})
Copied!
  • age - How much time the link has left if temporary.
1
bot.Command({
2
name: "info",
3
code: `
4
$inviteInfo[discord.gg/AyhUg68Hl;age]
5
`
6
})
Copied!
  • deletable - Returns true/false if the link is deletable by the user.
1
bot.Command({
2
name: "info",
3
code: `
4
$inviteInfo[discord.gg/AyhUg68Hl;deletable]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: