mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
17 lines
422 B
C#
17 lines
422 B
C#
using Robust.Shared.Console;
|
|
using Robust.Shared.IoC;
|
|
|
|
namespace Robust.Server.ServerHub;
|
|
|
|
internal sealed class AdvertiseNowCommand : LocalizedCommands
|
|
{
|
|
[Dependency] private readonly HubManager _hubManager = default!;
|
|
|
|
public override string Command => "hub_advertise_now";
|
|
|
|
public override void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
{
|
|
_hubManager.AdvertiseNow();
|
|
}
|
|
}
|