mirror of
https://github.com/Syping/dtranslatebot.git
synced 2026-04-01 21:30:40 +02:00
code style changes and remove some constructors
This commit is contained in:
parent
de121beaac
commit
94429ca718
9 changed files with 60 additions and 50 deletions
|
|
@ -31,6 +31,8 @@ namespace bot {
|
|||
class database {
|
||||
public:
|
||||
explicit database() = default;
|
||||
database(const database&) = delete;
|
||||
database& operator=(const database&) = delete;
|
||||
virtual ~database() = default;
|
||||
virtual void add_channel_target(dpp::snowflake guild_id, dpp::snowflake channel_id, const bot::settings::target &target);
|
||||
virtual void delete_channel(dpp::snowflake guild_id, dpp::snowflake channel_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue