The Husqy premium subscription is now live! Please head over to our Discord store page to get started!
We are verified! Husqy is a verified bot in Discord making us visible in the app discovery and enabling bigger trust to users!
Want to help us translate the Husqy responses? We can't do it without you! Please visit our translations repo!
Skip to main content

Husqy.modules.invite_tracker (2.0.0)

Download OpenAPI specification:Download

Settings

Operations related to the settings of the Invite Tracker module

Get The Settings Of The Invite Tracker Module In A Server

Get the settings for Husqy invite_tracker module for a guild.

query Parameters
guild_id
required
integer (Guild Id)

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Delete The Settings Of The Invite Tracker Module In A Server

Delete the settings for Husqy invite_tracker module for a guild.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Update The Settings Of The Logging Module In A Server

Change the settings for Husqy invite tracker module for a guild.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
Join Messages Enabled (boolean) or Join Messages Enabled (null) (Join Messages Enabled)
Join Messages Channel (integer) or Join Messages Channel (null) (Join Messages Channel)
Join Message Is Embed (boolean) or Join Message Is Embed (null) (Join Message Is Embed)
Join Message Content (string) or Join Message Content (null) (Join Message Content)
Leave Messages Enabled (boolean) or Leave Messages Enabled (null) (Leave Messages Enabled)
Leave Messages Channel (integer) or Leave Messages Channel (null) (Leave Messages Channel)
Leave Message Is Embed (boolean) or Leave Message Is Embed (null) (Leave Message Is Embed)
Leave Message Content (string) or Leave Message Content (null) (Leave Message Content)
Prevent Own Invite Code (boolean) or Prevent Own Invite Code (null) (Prevent Own Invite Code)
Server Shared Invite Link (string) or Server Shared Invite Link (null) (Server Shared Invite Link)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "join_messages_enabled": true,
  • "join_messages_channel": 0,
  • "join_message_is_embed": true,
  • "join_message_content": "string",
  • "leave_messages_enabled": true,
  • "leave_messages_channel": 0,
  • "leave_message_is_embed": true,
  • "leave_message_content": "string",
  • "prevent_own_invite_code": true,
  • "server_shared_invite_link": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Status

Operations related to the status of the Invite Tracker module

Get The Status Of The Invite Tracker Module In A Server

Status endpoint for the Husqy.modules.invite tracker microservice.

query Parameters
guild_id
required
integer (Guild Id)

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Disable The Invite Tracker Module

Enable the invite_tracker module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Enable The Invite Tracker Module In A Server

Enable the invite_tracker module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Invites

Operations related to Invite Tracker entries

Create An Invite In A Server.

Create an invite for a guild.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
channel_id
required
integer (Channel Id)
max_uses
required
integer (Max Uses)
max_age
required
integer (Max Age)
is_temporary
required
boolean (Is Temporary)
Application Id (integer) or Application Id (null) (Application Id)
Token (string) or Token (null) (Token)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "channel_id": 0,
  • "max_uses": 0,
  • "max_age": 0,
  • "is_temporary": true,
  • "application_id": 0,
  • "token": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Delete An Invite In A Server.

Delete an invite for a guild.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
invite_code
required
string (Invite Code)
Application Id (integer) or Application Id (null) (Application Id)
Token (string) or Token (null) (Token)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "invite_code": "string",
  • "application_id": 0,
  • "token": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Stats

Operations related to Invite Tracker entries

Events

Operations related to checking Invite Tracker events

Check If An Invite Has Been Deleted In The Server.

Check if an invite has been deleted for a guild.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
invite_code
required
string (Invite Code)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "invite_code": "string"
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Check If An Invite Has Been Created In The Server.

Check if an invite has been created for a guild.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
invite_code
required
string (Invite Code)
channel_id
required
integer (Channel Id)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "invite_code": "string",
  • "channel_id": 0
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Check If A Leave Was Related To A Known Invite In The Server.

Check if a leave was related to a known invite in the server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Check If A Join Was Done Using A Known Invite In The Server.

Check if a join was done using a known invite in the server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Privacy

Operations for a users privacy data

Get The Privacy Data Of A User For The Husqy.Modules.Invite Tracker Microservice

Get user entries.

query Parameters
guild_id
required
integer (Guild Id)
privacy_member_id
required
integer (Privacy Member Id)

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Delete The Privacy Data Of A User For The Husqy.Modules.Verifier Microservice

Delete user entries.

query Parameters
guild_id
required
integer (Guild Id)
privacy_member_id
required
integer (Privacy Member Id)

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Home Endpoint For The Husqy.Modules.Invite Tracker Microservice

Home endpoint for the Husqy.general microservice.

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}