little refactoring

This commit is contained in:
Syping 2024-02-04 07:10:02 +01:00
parent 92b480c8eb
commit b10593440d
14 changed files with 116 additions and 106 deletions

View file

@ -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