Skip to content

Commit c338f78

Browse files
committed
[Edit]: Refactor
- I stop to make this command. I'll return after.
1 parent 692bbb1 commit c338f78

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/moderation/unban.cpp

+2-7
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,9 @@ void unban(dpp::cluster& client, const dpp::slashcommand_t& event)
108108
109109
-> check ban map
110110
111-
*/
112-
113-
client.guild_get_ban(event.command.guild_id, usr, [&client, usr](const dpp::confirmation_callback_t& callback)
114-
{
115-
const auto BanMap = std::get<dpp::ban_map>(callback.value);
111+
P/S: I'll soon continue to make this, since it is really hard
116112
117-
// Working in progress ...
118-
});
113+
*/
119114

120115
auto b_Component = dpp::component().set_label("Unban")
121116
.set_type(dpp::cot_button)

0 commit comments

Comments
 (0)