Skip to content

Commit d1323e9

Browse files
committed
add configuration attrbutes
1 parent c024fe9 commit d1323e9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

DefaultPlugin/Sources/Twitch/Twitch.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
using Sync.Tools;
1111
using System.Timers;
1212
using Sync.MessageFilter;
13+
using Sync.Tools.ConfigurationAttribute;
1314

1415
namespace DefaultPlugin.Sources.Twitch
1516
{
@@ -48,7 +49,9 @@ public Twitch() : base(SOURCE_NAME, SOURCE_AUTHOR)
4849
public ConfigurationElement HostChannelName { get; set; } = "";
4950
public ConfigurationElement DefaultClientID { get; set; } = "";
5051
public ConfigurationElement CurrentClientID { get; set; } = "";
51-
public ConfigurationElement IsUsingCurrentClientID { get; set; } = "1";
52+
53+
[Bool]
54+
public ConfigurationElement IsUsingCurrentClientID { get; set; } = "True";
5255
public ConfigurationElement SOAuth { get; set; } = "";
5356
#region 接口实现
5457

0 commit comments

Comments
 (0)