Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement of /listening command to mute users #206

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from

Conversation

Achintya-Chatterjee
Copy link
Member

@Achintya-Chatterjee Achintya-Chatterjee commented Mar 12, 2024

Date: 30th April, 2024

Developer Name: @Achintya-Chatterjee


Issue Ticket Number

closes #202

Description

  • Implemented server muting or voice channel muting functionality based on the boolean value provided with the /listening command.

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

  • When users execute the /listening command with the boolean value set to False, their server name is updated to remove Can't Talk from their name, and they are no longer server muted or voice channel muted.

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Screenshots

Screenshot 1
Screencast.from.30-04-24.02.30.17.PM.IST.webm

Test Coverage

Screenshot 1

Screenshot from 2024-04-30 17-36-47
Screenshot from 2024-04-30 17-37-34

Additional Notes

Discod API

  • Libraries like jest-fetch-mock are used to mock the fetch function, allowing us to simulate HTTP requests and responses without actually hitting the external API.

@Achintya-Chatterjee Achintya-Chatterjee self-assigned this Mar 12, 2024
@Achintya-Chatterjee Achintya-Chatterjee added enhancement Improving something existing feature task A big ticket item that needs to come up as a feature labels Mar 12, 2024
Copy link
Contributor

@sahsisunny sahsisunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why user is disconnected from voice server when running /listening command?

@Achintya-Chatterjee
Copy link
Member Author

Why user is disconnected from voice server when running /listening command?

@sahsisunny This is intended, there's no way we can avoid that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving something existing feature task A big ticket item that needs to come up as a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat:Enhancing /listening Command Functionality
2 participants