sparkle/libs/interface/Guild.hpp
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