Real-Dev-Squad / discord-slash-commands

MIT License
4 stars 21 forks source link

feat:Enhancing `/listening` Command Functionality #202

Open Achintya-Chatterjee opened 4 months ago

Achintya-Chatterjee commented 4 months ago

Issue Description

Currently, when a user executes the /listening command in the Real Dev squad Discord server, their name gets updated to include Can't Talk after their name. For instance, it appears as 🎧 achintya-chatterjee-Can't Talk. However, the intended behaviour is missing, as the user is not server muted or voice channel muted in any channel of the Real Dev Squad Discord server. We need to enhance this functionality so that users are server muted or voice channel muted upon executing the /listening command.

Expected Behavior

  1. When users execute the /listening command with the boolean value set to True, their server name should be updated to Can't Talk after their name, and they should be server muted or voice channel muted.

  2. When users execute the /listening command with the boolean value set to False, their server name should be updated to remove Can't Talk from their name, and they should not be server muted or voice channel muted.

Current Behavior

Screenshots

Screenshot from 2024-02-27 21-01-21 Screenshot from 2024-02-27 21-03-17

Reproducibility

Steps to Reproduce

  1. Execute the /listening command with the boolean value set to True.
  2. Observe that the user's name is updated to include Can't Talk but they are not server muted or voice channel muted.

Severity/Priority

Additional Information

Checklist