mirror of
https://github.com/osukey/osukey.git
synced 2025-07-06 19:00:01 +09:00
Make nullable
This commit is contained in:
@ -23,7 +23,11 @@ namespace osu.Game.Online.Chat
|
|||||||
|
|
||||||
private readonly Channel target;
|
private readonly Channel target;
|
||||||
|
|
||||||
public NowPlayingCommand(Channel target)
|
/// <summary>
|
||||||
|
/// Creates a new <see cref="NowPlayingCommand"/> to post the currently-playing beatmap to a parenting <see cref="IChannelPostTarget"/>.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="target">The target channel to post to. If <c>null</c>, the currently-selected channel will be posted to.</param>
|
||||||
|
public NowPlayingCommand(Channel target = null)
|
||||||
{
|
{
|
||||||
this.target = target;
|
this.target = target;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user