Skip to content

Files

Latest commit

4d1808e · Nov 28, 2023

History

History
19 lines (16 loc) · 1.08 KB

customizegroups.md

File metadata and controls

19 lines (16 loc) · 1.08 KB

About $customizegroups

This command lets the user customize the total number of groups to create as well as the maximum members for each group.

Location of Code

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

Code Description

Functions

def customizegroups(self, ctx, total_groups: int, max_members: int):
This function takes as arguments the values provided by the constructor through self and context in which the command was called. The two remaining arguments include the total number of groups to create and the maximum members per group.

How to run it?

In any channel of the server, you can customize group settings by typing customizegroups <total_groups> <maximum_members>.

$customizegroups TOTAL_GROUPS MAXIMUM_MEMBERS
$customizegroups 10 6

Successful execution of this command will return a message indicating the group settings. image