Skip to content

Commit

Permalink
docs(noDefaultHangStatus): update description, add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
D3SOX committed May 16, 2024
1 parent 44227e1 commit 8286c91
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
These are all my Vencord plugins that are not yet in the [official Vencord repository](https://vencord.dev/plugins#d3sox). Some of them have [pending PRs](https://github.com/Vendicated/Vencord/pulls/d3sox).
See the plugin folders for screenshots

馃帯 [**BetterActivities**](./betterActivities)
Shows activity icons in the member list and allows showing all activities

馃攪 [**BlockKrisp**](./blockKrisp.discordDesktop)
Prevent Krisp from loading

Expand All @@ -17,8 +20,8 @@ Adds a follow option in the user context menu to always be in the same VC as the
馃槖 [**IgnoreTerms**](./ignoreTerms)
Ignore Discord's new terms of service

馃帯 [**BetterActivities**](./betterActivities)
Shows activity icons in the member list and allows showing all activities
馃敃 [**NoDefaultHangStatus**](./noDefaultHangStatus)
Disable the default hang status when joining voice channels

馃敂 [**NotifyUserChanges**](./notifyUserChanges)
Adds a notify option in the user context menu to get notified when a user changes voice channels or online status
Expand Down
5 changes: 5 additions & 0 deletions noDefaultHangStatus/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# NoDefaultHangStatus

Disable the default hang status when joining voice channels

![Visualization](https://github.com/Vendicated/Vencord/assets/24937357/329a9742-236f-48f7-94ff-c3510eca505a)
3 changes: 1 addition & 2 deletions noDefaultHangStatus/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ import { FluxDispatcher } from "@webpack/common";

export default definePlugin({
name: "NoDefaultHangStatus",
description: "Disable the default hang status",
description: "Disable the default hang status when joining voice channels",
authors: [Devs.D3SOX],

flux: {
UPDATE_HANG_STATUS: ({ status, saveAsDefault }: { status: string, saveAsDefault?: boolean }) => {
if (saveAsDefault === undefined && status) {
// console.log("UPDATE_HANG_STATUS", status, "clearing...");
FluxDispatcher.dispatch({ type: "CLEAR_HANG_STATUS" });
}
},
Expand Down

0 comments on commit 8286c91

Please sign in to comment.