Skip to content

Commit

Permalink
[Edit]: Refactor
Browse files Browse the repository at this point in the history
- I stop to make this command. I'll return after.
  • Loading branch information
harshfeudal committed Nov 14, 2022
1 parent 692bbb1 commit c338f78
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/moderation/unban.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,9 @@ void unban(dpp::cluster& client, const dpp::slashcommand_t& event)
-> check ban map
*/

client.guild_get_ban(event.command.guild_id, usr, [&client, usr](const dpp::confirmation_callback_t& callback)
{
const auto BanMap = std::get<dpp::ban_map>(callback.value);
P/S: I'll soon continue to make this, since it is really hard
// Working in progress ...
});
*/

auto b_Component = dpp::component().set_label("Unban")
.set_type(dpp::cot_button)
Expand Down

0 comments on commit c338f78

Please sign in to comment.