-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace PrismBotTShockAdapter.Models; | ||
|
||
public class Config | ||
{ | ||
public string Host = "127.0.0.1"; | ||
public int Port = 8081; | ||
} |
4 changes: 1 addition & 3 deletions
4
...kAdapter/Models/ElegantWhitelistConfig.cs → ...tTShockAdapter/Models/ElegantWhitelist.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
namespace PrismBotTShockAdapter.Models; | ||
|
||
public class ElegantWhitelistConfig | ||
public class ElegantWhitelist | ||
{ | ||
public string AccountFrozenMessage = "你的账号已被冻结,请联系服务器管理员"; | ||
public string ConnectionErrorMessage = "无法连接到白名单服务器,请联系服务器管理员"; | ||
public string Host = "127.0.0.1"; | ||
public string NotInWhitelistMessage = "你还没有添加白名单,请在群内发送“添加白名单 <角色昵称>”来添加白名单"; | ||
public int Port = 8081; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters