Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1 KB

join.md

File metadata and controls

21 lines (17 loc) · 1 KB

About $join

This command lets the student add their name to the group member list. This is used to ensure that all students can get into a group. making sure no duplicates occur in the process

Location of Code

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

Code Description

Functions

join(self, ctx, arg='group', arg2='-1'):
This function takes as arguments the values provided by the constructor through self, context in which the command was called, the group argument and the number argument.

How to run it? (Small Example)

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 'join group '.

$join group <NUMBER>
$join group 0

Successful execution of this command will return a message saying you have joined the group.

$join HW