Skip to content

Commit

Permalink
Update bartender.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
callmeclover authored Mar 19, 2024
1 parent a1b7dfd commit 15b8198
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/bartender.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ defmodule Bartender do
use Rustler, otp_app: :arcs, crate: "bartender"

# When your NIF is loaded, it will override this function.
def filter_profanity(_input), do: :erlang.nif_error(:nif_not_loaded)
end
def censor(_input), do: :erlang.nif_error(:nif_not_loaded)
def is_inappropriate(_input), do: :erlang.nif_error(:nif_not_loaded)
def is(_input, _filter_input), do: :erlang.nif_error(:nif_not_loaded)
def isnt(_input, _filter_input), do: :erlang.nif_error(:nif_not_loaded)
end

0 comments on commit 15b8198

Please sign in to comment.