diff --git a/UpgradeLog.htm b/UpgradeLog.htm new file mode 100644 index 0000000000..1b7f8648c7 Binary files /dev/null and b/UpgradeLog.htm differ diff --git a/src/Tgstation.Server.Host/Components/Chat/Channel.cs b/src/Tgstation.Server.Host/Components/Chat/Channel.cs index 33b0e6f7db..8a6cfc1d66 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Channel.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Channel.cs @@ -1,14 +1,29 @@ namespace Tgstation.Server.Host.Components.Chat { + /// + /// Represents a channel + /// public sealed class Channel { + /// + /// The channel Id. + /// + /// remaps this to an internal id using public long Id { get; set; } + /// + /// The user friendly name of the + /// public string FriendlyName { get; set; } - public string ConnectionName { get; set; } - + /// + /// If this is considered a channel for admin commands + /// public bool IsAdminChannel { get; set; } + + /// + /// If this i + /// public bool IsPrivateChannel { get; set; } } } diff --git a/src/Tgstation.Server.Host/Components/Chat/Commands/Command.cs b/src/Tgstation.Server.Host/Components/Chat/Commands/Command.cs index c607f04b45..8ad981aee0 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Commands/Command.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Commands/Command.cs @@ -1,11 +1,11 @@ namespace Tgstation.Server.Host.Components.Chat.Commands { - abstract class Command - { + public abstract class Command + { public string Name { get; set; } public string HelpText { get; set; } public bool AdminOnly { get; set; } public abstract void Invoke(string arguments); - } + } } diff --git a/src/Tgstation.Server.Host/Components/Chat/Commands/CustomCommand.cs b/src/Tgstation.Server.Host/Components/Chat/Commands/CustomCommand.cs index e2d9b5a4a1..94e8af328f 100644 --- a/src/Tgstation.Server.Host/Components/Chat/Commands/CustomCommand.cs +++ b/src/Tgstation.Server.Host/Components/Chat/Commands/CustomCommand.cs @@ -2,7 +2,7 @@ namespace Tgstation.Server.Host.Components.Chat.Commands { - sealed class CustomCommand : Command + public sealed class CustomCommand : Command { ICustomCommandHandler handler; diff --git a/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs b/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs index f4a19fad3d..c64d6212c7 100644 --- a/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs +++ b/src/Tgstation.Server.Host/Components/Watchdog/Watchdog.cs @@ -556,7 +556,7 @@ namespace Tgstation.Server.Host.Components.Watchdog } /// - public async Task HandleChatCommand(string commandName, IEnumerable arguments, Chat.User sender, CancellationToken cancellationToken) + public async Task HandleChatCommand(string commandName, string arguments, Chat.User sender, CancellationToken cancellationToken) { using (await SemaphoreSlimContext.Lock(semaphore, cancellationToken).ConfigureAwait(false)) {