sparkle/libs/api/Guild.hpp
fluttershy 1cbfe59bf6 fixes
2025-01-20 04:03:27 +05:00

15 lines
313 B
C++

#ifndef API_GUILD_HPP_
#define API_GUILD_HPP_
#include <includes.h>
//#include <net.h>
using std::string, std::cout, std::endl, nlohmann::json;
class Guild {
private:
json data;
public:
Guild(const json& data) : data(data) {}
string id() const {
return data["d"]["user"]["id"];
}
};
#endif