sparkle/libs/utils/types.hpp

15 lines
488 B
C++
Raw Normal View History

2024-12-31 02:20:56 +05:00
#ifndef UTILS_TYPES_HPP_
#define UTILS_TYPES_HPP_
#define dapi string("/api/v10")
#define j(...) {{__VA_ARGS__}}
#define je(...) {__VA_ARGS__}
#define g(x, y) (std::get<x>(y))
#define ALL_INTENTS 131071
#define TOKEN_BOT "Bot "
#include <iostream>
void chngcol(const std::string& text, int rBg, int gBg, int bBg) {
std::cout << "\033[48;2;" << rBg << ";" << gBg << ";" << bBg << "m";
std::cout << "\033[38;2;255;255;255m";
std::cout << text << "\033[0m" << std::endl;
}
#endif