mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-12-14 23:56:26 +01:00
mostly database fixes
This commit is contained in:
parent
13474ebefb
commit
10135e6ec1
6 changed files with 103 additions and 15 deletions
|
|
@ -66,6 +66,14 @@ std::variant<std::monostate,bot::settings::target> database::find_channel_target
|
|||
return {};
|
||||
}
|
||||
|
||||
bot::settings::channel database::get_channel(dpp::snowflake guild_id, dpp::snowflake channel_id)
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
std::cerr << "[Debug] database::get_channel(dpp::snowflake, dpp::snowflake) have being called." << std::endl;
|
||||
#endif
|
||||
return {};
|
||||
}
|
||||
|
||||
std::vector<dpp::snowflake> database::get_channels(dpp::snowflake guild_id)
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue