From 54e2744e3135f0eab9c9ec1e2cb84d831233df68 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Thu, 9 May 2024 00:36:56 +0500 Subject: feat: handler for timers --- src/config.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/config.hpp') diff --git a/src/config.hpp b/src/config.hpp index 25519c3..323e18f 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -8,6 +8,11 @@ " password = " + c.database.password + " host = " + c.database.host + \ " port = " + c.database.port +#define GET_DATABASE_CONNECTION_URL_POINTER(c) \ + "dbname = " + c->database.name + " user = " + c->database.user + \ + " password = " + c->database.password + " host = " + c->database.host + \ + " port = " + c->database.port + namespace bot { struct DatabaseConfiguration { std::string name; -- cgit v1.2.3