Skip to content

Commit

Permalink
Fix names in chatbox
Browse files Browse the repository at this point in the history
  • Loading branch information
LucHeart committed May 10, 2024
1 parent 58ef390 commit 18b06d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ShockOsc/Config/ChatboxConf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public sealed class ChatboxConf
ControlType.Stop, new ControlTypeConf
{
Enabled = true,
Local = "⏸ '{ShockerName}'",
Local = "⏸ '{GroupName}'",
Remote = "⏸ '{ShockerName}' by {Name}",
RemoteWithCustomName = "⏸ '{ShockerName}' by {CustomName} [{Name}]"
}
Expand All @@ -29,7 +29,7 @@ public sealed class ChatboxConf
ControlType.Shock, new ControlTypeConf
{
Enabled = true,
Local = "⚡ '{ShockerName}' {Intensity}%:{DurationSeconds}s",
Local = "⚡ '{GroupName}' {Intensity}%:{DurationSeconds}s",
Remote = "⚡ '{ShockerName}' {Intensity}%:{DurationSeconds}s by {Name}",
RemoteWithCustomName =
"⚡ '{ShockerName}' {Intensity}%:{DurationSeconds}s by {CustomName} [{Name}]"
Expand All @@ -39,7 +39,7 @@ public sealed class ChatboxConf
ControlType.Vibrate, new ControlTypeConf
{
Enabled = true,
Local = "〜 '{ShockerName}' {Intensity}%:{DurationSeconds}s",
Local = "〜 '{GroupName}' {Intensity}%:{DurationSeconds}s",
Remote = "〜 '{ShockerName}' {Intensity}%:{DurationSeconds}s by {Name}",
RemoteWithCustomName =
"〜 '{ShockerName}' {Intensity}%:{DurationSeconds}s by {CustomName} [{Name}]"
Expand All @@ -49,7 +49,7 @@ public sealed class ChatboxConf
ControlType.Sound, new ControlTypeConf
{
Enabled = true,
Local = "🔈 '{ShockerName}' {Intensity}%:{DurationSeconds}s",
Local = "🔈 '{GroupName}' {Intensity}%:{DurationSeconds}s",
Remote = "🔈 '{ShockerName}' {Intensity}%:{DurationSeconds}s by {Name}",
RemoteWithCustomName =
"🔈 '{ShockerName}' {Intensity}%:{DurationSeconds}s by {CustomName} [{Name}]"
Expand Down
1 change: 1 addition & 0 deletions ShockOsc/Services/ShockOsc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ private async Task InstantShock(ProgramGroup programGroup, uint duration, byte i
// Chatbox message local
var dat = new
{
GroupName = programGroup.Name,
ShockerName = programGroup.Name,
Intensity = intensity,
IntensityPercentage = intensityPercentage,
Expand Down

0 comments on commit 18b06d8

Please sign in to comment.