14 lines
463 B
C++
14 lines
463 B
C++
#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
|
|
#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 |