Skip to content

Commit

Permalink
[Update]: Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
harshfeudal committed Nov 12, 2022
1 parent 8ffb704 commit 1b13e21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions commands/builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

#include "handler.h"

#include "commands/ping.h"
#include "commands/kick.h"
#include "commands/userinfo.h"
#include "commands/prune.h"
#include "ping.h"
#include "kick.h"
#include "userinfo.h"
#include "prune.h"

void SlashCommandCreate(dpp::cluster& client);

Expand Down
4 changes: 2 additions & 2 deletions src/userinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "../commands/userinfo.h"
#include "../commands/handler.h"

void EmbedBuild(dpp::embed& embed, std::string avatar, std::string usrName, std::string usrID, std::string created, const dpp::user& tgtUser);
inline void EmbedBuild(dpp::embed& embed, std::string avatar, std::string usrName, std::string usrID, std::string created, const dpp::user& tgtUser);

void userInfo(dpp::cluster& client, const dpp::slashcommand_t& event)
{
Expand Down Expand Up @@ -42,7 +42,7 @@ void userInfo(dpp::cluster& client, const dpp::slashcommand_t& event)
}
}

void EmbedBuild(dpp::embed& embed, std::string avatar, std::string usrName, std::string usrID, std::string created, const dpp::user& tgtUser)
inline void EmbedBuild(dpp::embed& embed, std::string avatar, std::string usrName, std::string usrID, std::string created, const dpp::user& tgtUser)
{
embed = dpp::embed().set_color(0xAA7EEE)
.set_title("User Information")
Expand Down

0 comments on commit 1b13e21

Please sign in to comment.