Skip to content

Commit

Permalink
Merge pull request #10 from Harshfeudal-Projects/development
Browse files Browse the repository at this point in the history
[Update]: Minor fix
  • Loading branch information
harshfeudal authored Nov 28, 2022
2 parents ec86d60 + 8a6127c commit 9e19ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/information/userInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void userInfo(dpp::cluster& client, const dpp::slashcommand_t& event)
if (std::holds_alternative<dpp::snowflake>(event.get_parameter("user")) == true)
usrId = std::get<dpp::snowflake>(event.get_parameter("user"));

const auto tgtId = client.user_get_sync(usrId);
dpp::user_identified tgtId = client.user_get_sync(usrId);

// If cannot find the user
if (!dpp::find_user(usrId))
Expand Down

0 comments on commit 9e19ef0

Please sign in to comment.