mirror of
https://github.com/Syping/dtranslatebot.git
synced 2026-04-01 13:20:40 +02:00
little refactoring
This commit is contained in:
parent
92b480c8eb
commit
b10593440d
14 changed files with 116 additions and 106 deletions
|
|
@ -23,11 +23,10 @@
|
|||
#include "settings.h"
|
||||
|
||||
namespace bot {
|
||||
class slashcommands {
|
||||
public:
|
||||
static void process_translate_command(dpp::cluster *bot, bot::settings::settings *settings, const dpp::slashcommand_t &event);
|
||||
static void register_commands(dpp::cluster *bot, bot::settings::settings *settings);
|
||||
};
|
||||
namespace slashcommands {
|
||||
extern void process_translate_command(dpp::cluster *bot, bot::settings::settings *settings, const dpp::slashcommand_t &event);
|
||||
extern void register_commands(dpp::cluster *bot, bot::settings::settings *settings);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // SLASHCOMMANDS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue