Files
faumaray 5c036d91fb making WEB
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-11 00:45:17 +03:00

36 lines
731 B
C++

#pragma once
#include "PlayCommand.hpp"
namespace Echoion::Core
{
// !psc / !playsc — play from SoundCloud only (URL or search).
class SoundCloudPlayCommand : public PlayCommandBase
{
public:
std::string_view getDescription() const override
{
return "Plays from SoundCloud only (URL or search).";
}
std::string_view getUsage() const override
{
return "<url or search query>";
}
std::vector<std::string_view> getAliases() const override
{
return {"playsc"};
}
protected:
MusicManager::SearchScope scope() const override
{
return MusicManager::SearchScope::SoundCloud;
}
std::string_view label() const override { return "psc"; }
};
} // namespace Echoion::Core