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.tempchannels (2.0.0)

Download OpenAPI specification:Download

Settings

Operations related to the settings of the tempchannels module

Delete The Settings Of The Tempchannels Module In A Server

Delete the settings for Husqy tempchannels 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": {
    }
}

Status

Operations related to the status of the tempchannels module

Get The Status Of The Tempchannels Module

Status endpoint for the Husqy.modules.welcoming microservice.

query Parameters
guild_id
required
integer (Guild Id)

Responses

Response samples

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

Disable The Tempchannels Module

Enable the tempchannels 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 Tempchannels Module

Enable the tempchannels 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": {
    }
}

Creation channels

Operations related to creation channels

Get The Creation Channels In A Server

Get the creation channels for Husqy tempchannels module for a guild.

query Parameters
guild_id
required
integer (Guild Id)

Responses

Response samples

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

Create A New Creation Channel

Create a creation channel for Husqy tempchannels module for a guild.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
creation_channel_name
required
string (Creation Channel Name)
create_voice_channel
required
boolean (Create Voice Channel)
Voice Channel Name (string) or Voice Channel Name (null) (Voice Channel Name)
Voice Channel Category Id (string) or Voice Channel Category Id (null) (Voice Channel Category Id)
create_text_channel
required
boolean (Create Text Channel)
Text Channel Name (string) or Text Channel Name (null) (Text Channel Name)
Text Channel Category Id (string) or Text Channel Category Id (null) (Text Channel Category Id)
tempchannel_create_category_id
required
string (Tempchannel Create Category Id)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "creation_channel_name": "string",
  • "create_voice_channel": true,
  • "voice_channel_name": "string",
  • "voice_channel_category_id": "string",
  • "create_text_channel": true,
  • "text_channel_name": "string",
  • "text_channel_category_id": "string",
  • "tempchannel_create_category_id": "string"
}

Response samples

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

Get The Configuration Of A Creation Channel

Get the response for Husqy tempchannels module for a guild.

path Parameters
creation_channel_id
required
integer (Creation Channel Id)
query Parameters
guild_id
required
integer (Guild Id)

Responses

Response samples

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

Delete A Creation Channel

Delete the creation channel for Husqy tempchannels module for a guild.

path Parameters
creation_channel_id
required
integer (Creation Channel Id)
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 A Creation Channels Configuration

Edit the creation channel for Husqy tempchannels module for a guild.

path Parameters
creation_channel_id
required
integer (Creation Channel Id)
Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
Creation Channel Name (string) or Creation Channel Name (null) (Creation Channel Name)
Create Voice Channel (boolean) or Create Voice Channel (null) (Create Voice Channel)
Voice Channel Name (string) or Voice Channel Name (null) (Voice Channel Name)
Voice Channel Category Id (string) or Voice Channel Category Id (null) (Voice Channel Category Id)
Create Text Channel (boolean) or Create Text Channel (null) (Create Text Channel)
Text Channel Name (string) or Text Channel Name (null) (Text Channel Name)
Text Channel Category Id (string) or Text Channel Category Id (null) (Text Channel Category Id)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "creation_channel_name": "string",
  • "create_voice_channel": true,
  • "voice_channel_name": "string",
  • "voice_channel_category_id": "string",
  • "create_text_channel": true,
  • "text_channel_name": "string",
  • "text_channel_category_id": "string"
}

Response samples

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

Delete A Creation Channel If The Deleted Channel Is A Creation Channel

Create a creation channel for Husqy tempchannels module for a guild.

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

Responses

Request samples

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

Response samples

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

Tempchannels

Operations related to tempchannels

Create A New Tempchannel

Check if a tempchannel has to be created for a guild.

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

Responses

Request samples

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

Response samples

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

Delete A Tempchannel

Check if a tempchannel has to be created for a guild.

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

Responses

Request samples

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

Response samples

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

Check If A Deleted Channel Was A Tempchannel And Delete The Configuration

Check if a tempchannel is manually deleted from a guild.

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

Responses

Request samples

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

Response samples

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

Update The Last Activity Timestamp Of A Temporary Text Channel

Check if a tempchannel is manually deleted from a guild.

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

Responses

Request samples

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

Response samples

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

Get All Tempchannels In A Server

Get the tempchannels for Husqy tempchannels module for a guild.

query Parameters
guild_id
required
integer (Guild Id)

Responses

Response samples

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

Get A Tempchannels Information

Get the tempchannel for Husqy tempchannels module for a guild.

path Parameters
tempchannel_id
required
string (Tempchannel Id)
query Parameters
guild_id
required
integer (Guild Id)

Responses

Response samples

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

Tempchannel edits

Operations related to editing the tempchannels

Add A Block Rule To A Tempchannel (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
target_is_role
required
boolean (Target Is Role)
target_id
required
integer (Target Id)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "tempchannel_id_to_edit": 0,
  • "target_is_role": true,
  • "target_id": 0,
  • "channel_id": 0,
  • "application_id": 0,
  • "token": "string"
}

Response samples

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

Add A Trust Rule To A Tempchannel (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
target_is_role
required
boolean (Target Is Role)
target_id
required
integer (Target Id)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "tempchannel_id_to_edit": 0,
  • "target_is_role": true,
  • "target_id": 0,
  • "channel_id": 0,
  • "application_id": 0,
  • "token": "string"
}

Response samples

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

Remove A Block Rule From A Tempchannel (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
target_is_role
required
boolean (Target Is Role)
target_id
required
integer (Target Id)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "tempchannel_id_to_edit": 0,
  • "target_is_role": true,
  • "target_id": 0,
  • "channel_id": 0,
  • "application_id": 0,
  • "token": "string"
}

Response samples

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

Remove A Trust Rule From A Tempchannel (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
target_is_role
required
boolean (Target Is Role)
target_id
required
integer (Target Id)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "tempchannel_id_to_edit": 0,
  • "target_is_role": true,
  • "target_id": 0,
  • "channel_id": 0,
  • "application_id": 0,
  • "token": "string"
}

Response samples

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

Claim A Tempchannel Without An Owner

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

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

Response samples

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

Delete A Tempchannel (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

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

Response samples

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

Set The Age Restriction Of A Tempchannel (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
age_restricted
required
boolean (Age Restricted)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

Content type
application/json
{
  • "guild_id": 0,
  • "tempchannel_id_to_edit": 0,
  • "age_restricted": true,
  • "channel_id": 0,
  • "application_id": 0,
  • "token": "string"
}

Response samples

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

Set The Bitrate Of A Tempchannel (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
bitrate
required
integer (Bitrate)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

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

Response samples

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

Set The Name Of A Tempchannel (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
name
required
string (Name)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

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

Response samples

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

Set The Region Of A Tempchannel (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
region
required
string (Region)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

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

Response samples

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

Set The Slowmode Of A Tempchannel (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
timeout
required
integer (Timeout)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

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

Response samples

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

Set The User Limit Of A Tempchannel (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
user_limit
required
integer (User Limit)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

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

Response samples

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

Transfer Ownership Of A Tempchannel To A New Owner (Owner Only)

Enable the tempchannels module for a server.

Request Body schema: application/json
required
guild_id
required
integer (Guild Id)
tempchannel_id_to_edit
required
integer (Tempchannel Id To Edit)
new_owner
required
integer (New Owner)
channel_id
required
integer (Channel Id)
application_id
required
integer (Application Id)
token
required
string (Token)

Responses

Request samples

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

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.Tempchannels 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.Tempchannels 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.Tempchannels Microservice

Home endpoint for the Husqy.general microservice.

Responses

Response samples

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