You're seeing just the function remove_guild_member, go back to Nostrum.Api module for more information.
Link to this function

remove_guild_member(guild_id, user_id, reason \\ nil)

View Source


Removes a member from a guild.

This event requires the KICK_MEMBERS permission. It fires a Nostrum.Consumer.guild_member_remove/0 event.

An optional reason can be provided for the audit log with reason.

If successful, returns {:ok}. Otherwise, returns a Nostrum.Api.error/0.


Nostrum.Api.remove_guild_member(1453827904102291, 18739485766253)