WIP: Refactor Aurora (3.0.0) #29
1 changed files with 0 additions and 1 deletions
|
@ -13,7 +13,6 @@ async def moderate(ctx: Union[commands.Context, discord.Interaction], target: di
|
||||||
It checks if the target can be moderated, then calls the handler method of the moderation type specified.
|
It checks if the target can be moderated, then calls the handler method of the moderation type specified.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
bot (Red): The bot instance.
|
|
||||||
ctx (Union[commands.Context, discord.Interaction]): The context of the command. If this is a `discord.Interaction` object, it will be converted to a `commands.Context` object. Additionally, if the interaction orignated from a context menu, the `ctx.author` attribute will be overriden to `interaction.user`.
|
ctx (Union[commands.Context, discord.Interaction]): The context of the command. If this is a `discord.Interaction` object, it will be converted to a `commands.Context` object. Additionally, if the interaction orignated from a context menu, the `ctx.author` attribute will be overriden to `interaction.user`.
|
||||||
target (discord.Member, discord.User, discord.abc.Messageable): The target user or channel to moderate.
|
target (discord.Member, discord.User, discord.abc.Messageable): The target user or channel to moderate.
|
||||||
silent (bool | None): Whether to send the moderation action to the target.
|
silent (bool | None): Whether to send the moderation action to the target.
|
||||||
|
|
Loading…
Reference in a new issue