This repository has been archived on 2025-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
sparkle/libs/interface/Guild.hpp
fluttershy 2e54a17b5d fixes
2025-01-29 16:06:47 +05:00

14 lines
299 B
C++

#ifndef INTERFACE_GUILD_HPP_
#define INTERFACE_GUILD_HPP_
#include <includes.hpp>
#include <network.hpp>
class Guild {
private:
nlohmann::json data;
public:
Guild(const nlohmann::json& data) : data(data) {}
std::string id() const {
return data["d"]["user"]["id"];
}
};
#endif