about summary refs log tree commit diff
path: root/OsuFederatedBeatmapApi/Commands/CreateBeatmapSetListCommand.cs
blob: eb00c3e02128d2d1150eb563c272fa17fa49d6ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
using LibMatrix.EventTypes.Spec;
using LibMatrix.Utilities.Bot.Interfaces;

namespace OsuFederatedBeatmapApi.Commands;

public class CreateBeatmapSetListCommand : ICommand {
    public string Name { get; } = "create-beatmapset-list";
    public string Description { get; } = "Creates a beatmapset list and adds it to the list of tracked beatmapset lists";

    public async Task Invoke(CommandContext ctx) {
        await ctx.Room.SendMessageEventAsync(new RoomMessageEventContent(body: "pong!"));
    }
}