mirror of
https://github.com/Syping/dtranslatebot.git
synced 2025-12-16 00:26:25 +01:00
delete channel from settings when no target is left
- converted some pointers to references - simplified some constructors
This commit is contained in:
parent
c8239e2517
commit
616ce0055b
7 changed files with 142 additions and 131 deletions
|
|
@ -22,14 +22,6 @@
|
|||
#include "database.h"
|
||||
using namespace bot::database;
|
||||
|
||||
database::database()
|
||||
{
|
||||
}
|
||||
|
||||
database::~database()
|
||||
{
|
||||
}
|
||||
|
||||
void database::add_channel_target(dpp::snowflake guild_id, dpp::snowflake channel_id, const bot::settings::target &target)
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue