Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.04 KB

groups.md

File metadata and controls

20 lines (16 loc) · 1.04 KB

About $groups

This command lets the student view the amount of people there are in each group from the private discord DM with the bot. This is useful for viewing which group numbers are taken, which groups are still empty and which groups are already full.

Location of Code

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

Code Description

Functions

groups(self, ctx):
This function takes as arguments the values provided by the constructor through self, context in which the command was called. No additional arguments are needed.

How to run it?

Let's say that you are in the server or bot dm that has the Classmate Bot active and online. All you have to do is enter the command 'groups'.

$groups

Successful execution of this command will display the groups with existing members and the amount of people in each group.

image