Interactions Module

class Interactions(*args: Any, **kwargs: Any)

Bases: Cog

Module for handling interactive commands like hugs, slaps, kisses, and headpats.

Attention

All commands assume minimum bot permissions: View Channel, Send Messages.

async hug(ctx, *, args=None)

Sends a hug embed to the people you ping.

Aliases: cuddle

Syntax:

!!hug <args>

Example:

!!hug @user1 @user2
Parameters:

args (discord.Member (Max 9), required) – The users to hug, mentioned in the command message.

Returns:

An embed message with a hug GIF and description.

Return type:

discord.Embed

Permissions

Author: Everyone (subject to channel/guild command restrictions)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async slap(ctx, *, args=None)

Sends a slap embed to the people you ping.

Syntax:

!!slap <args>

Example:

!!slap @user1 @user2
Parameters:

args (discord.Member (Max 9), required) – The users to slap, mentioned in the command message.

Returns:

An embed message with a slap GIF and description.

Return type:

discord.Embed

Permissions

Author: Everyone (subject to channel/guild command restrictions)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async kiss(ctx, *, args=None)

Sends a random kiss embed to the people you ping.

Syntax:

!!kiss <args>

Example:

!!kiss @user1 @user2
Parameters:

args (discord.Member (Max 9), required) – The users to kiss, mentioned in the command message.

Returns:

An embed message with a kiss GIF and description.

Return type:

discord.Embed

Permissions

Author: Everyone (subject to channel/guild command restrictions)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async headpat(ctx, *, args=None)

Sends a headpat embed to the people you ping.

Aliases: pat

Syntax:

!!headpat <args>

Example:

!!headpat @user1 @user2
Parameters:

args (discord.Member (Max 9), required) – The users to headpat, mentioned in the command message.

Returns:

An embed message with a headpat GIF and description.

Return type:

discord.Embed

Permissions

Author: Everyone (subject to channel/guild command restrictions)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)

async interactiontoggle(ctx)

Toggle interaction blacklist status for the user in the current server.

Aliases: it

Syntax:

!!interactiontoggle

Example:

!!interactiontoggle
Returns:

A confirmation message indicating the user’s blacklist status.

Return type:

discord.Message

Permissions

Author: Everyone (subject to channel/guild command restrictions)

Bot: View Channel, Send Messages (plus Connect/Speak for voice commands)