Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.1 KB

group.md

File metadata and controls

19 lines (15 loc) · 1.1 KB

About $group (New Project 2 Command)

This command lets the student view the names of members in their group or the names of members in a specified group. This is useful for students to contact each other and for instructors to find out the names of people in a specific group.

Location of Code

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

Code Description

Functions

def group(self, ctx, group_num: int = -1):
This function takes as arguments the values provided by the constructor through self, context in which the command was called, and an optional group number.

How to run it?

Let's say that you are in the server or bot dm that has the Classmate Bot active and online. You can view the members in a group by typing group and an optional group number.

$group GROUP_NUMBER(optional)

Successful execution of this command will display the names of members in the group.

image