Skip to content

Commit

Permalink
add reason to kick
Browse files Browse the repository at this point in the history
  • Loading branch information
THE9rtyt committed Feb 29, 2024
1 parent 1509937 commit 5e70c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/miata_bot_discord/listeners/new_users_listener.ex
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ defmodule MiataBotDiscord.NewUsersListener do

Logger.info("expiring new user timer for member: #{inspect(member)}")

Nostrum.Api.remove_guild_member(state.guild.id, timer.discord_user_id)
Nostrum.Api.remove_guild_member(state.guild.id, timer.discord_user_id, "afk non-member")
delete(timer)
catch
_, error ->
Expand Down

0 comments on commit 5e70c88

Please sign in to comment.