Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 696 Bytes

File metadata and controls

29 lines (19 loc) · 696 Bytes

About $unban

This command is used by the bot to unban a banned member.

Location of Code

The code that implements the above mentioned functionality is located here.

Code Description

Functions

  1. def ban(ctx,member:discord.Member,*,reason=None):

    This function unbans a banned member.

Inputs:

  • ctx: used to access the values passed through the current context
  • member: name of the member

Outputs: Bots response

How to run it? (Small Example)

Enter : "$unban name"

$unban @user

Successful execution will unban the member.

image