-
Notifications
You must be signed in to change notification settings - Fork 2
Bot commands
/add [WhatsApp number] [Language code] [Display name] [User type]
Required Fields:
- WhatsApp number - User's WhatsApp number (Must include '+' and country code, no other punctuation)
- Language code - User's preferred language code (see valid codes)
- Display name - User's display name (No spaces allowed)
- User type - Super administrator (super), administrator (admin), or regular user (user)
Error(s):
- Incorrect number of arguments delimited by space(s)
- Invalid language code
- Invalid user type
- WhatsApp number already exists in the group chat
/remove [WhatsApp number]
Required Fields:
- WhatsApp number - User's WhatsApp number (Must include '+' and country code, no other punctuation)
OR
/remove [Display name]
Required Fields:
- Display name - User's display name (No spaces allowed)
Error(s):
- Incorrect number of arguments delimited by space(s)
- WhatsApp number does not exist in the group chat
Note: An administrator cannot remove himself/herself. An administrator also cannot remove a superuser.
A list of users in the group chat will be displayed in a readable format.
/list
A text message containing the specific user's number of messages will be displayed.
/stats [Time length] day[s] [WhatsApp number]
Required Fields:
- Time length - Number of days
- WhatsApp number - User's WhatsApp number (Must include '+' and country code, no other punctuation)
OR
/stats [Time length] days [Display Name]
Required Fields:
- Time length - Number of days
- Display name - User's display name (No spaces allowed)
A text message containing all users' corresponding number of messages will be displayed in a readable format.
/stats [Time length] days
Required Fields:
- Time length - Number of days
A text message containing the specific user's most recent message timestamp will be displayed.
/lastpost [WhatsApp number]
Required Fields:
- WhatsApp number - User's WhatsApp number (Must include '+' and country code)
OR
/lastpost [Display Name]
Required Fields:
- Display name - User's display name (No spaces allowed)
A text message containing all users' corresponding most recent message timestamp will be displayed in a readable format.
/lastpost
Please utilize the /remove
and /add
commands, in order, to update a user's settings.
Return a message that has first been translated to the target language and then back to the user's native language.
/test [Language code] [Test message]
Required Fields:
- Language code - Target language code (see valid codes)
- Test message - Message to translate
Error(s):
- Incorrect number of arguments delimited by space(s)
- Invalid language code
Send a private message to a group member. Messages with neither a body nor any media attachments will be ignored.
#[Display name] [message]
Required Fields:
- Display name - User's display name (No spaces allowed)