diff options
author | 2024-01-03 12:58:18 -0600 | |
---|---|---|
committer | 2024-01-03 12:58:18 -0600 | |
commit | da6997aab25b57152eec5d8c706977c472563853 (patch) | |
tree | 37787fcbd4c4cd76cb512a05156afb3235a72b17 /tests | |
parent | Bump ruff from 0.1.9 to 0.1.11 (#2876) (diff) |
Voice Verify Button Instead of Voice Verify Command (#2856)
* Added additional ignore to `.gitignore`
* Setting structure for view class
* Transferring voice_verification functionality to button view
* Completed VerifyView and added cog_load
* Moved `voice_verify()` functionality to button.
Added `prepare_voice_button()` to create the persistent button
and message.
* Tweaked message deletion times to be more consistent
* Voice Gate rework
- Removed unused imports caused by changes
- Changed voice pings to reflect the use of button instead of command
- Changed from deleting pings by message id in favor of using
built in `delete_after` arguments on messages
- Changed `delete_after` to use values from config
- Redis cache no longer tracks message ids along with user id for
the purpose of tracking people who have been pinged
-
* Changes to Structure and Logic
- Removed superfluous new line in constants file
- Removed ModLog from file as it is no longer needed
- New to voice chat users will no longer be sent a DM,
and will instead only be sent a ping in the verification channel
- Changed class name from `VerifyView` to
`VoiceVerificationView` for added clarity
- Adjusted voice button role check logic to reduce number of api calls
* Corrected logging formatting
- Formatting now correctly using %-style instead of f-strings
* Swapped channel getting & corrected redundant logic
- Swapped get_channel to get_or_fetch_channel to make sure
channel is retrieved
- Adjusted list comprehension and for loop to be a single for loop
* Change ping phrasing for clarity
Co-authored-by: wookie184 <[email protected]>
---------
Co-authored-by: wookie184 <[email protected]>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions