From a65e70b3c7ac34cf0882a143f037022205802535 Mon Sep 17 00:00:00 2001 From: "Rachel Fae Fox (foxiepaws)" Date: Fri, 4 Sep 2020 06:06:57 -0400 Subject: [PATCH] why am i a fucking idiot api -> Api --- lib/discordhandler.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/discordhandler.ex b/lib/discordhandler.ex index e5477af..8f5d48f 100644 --- a/lib/discordhandler.ex +++ b/lib/discordhandler.ex @@ -9,7 +9,7 @@ defmodule Discordirc.DiscordHandler do def is_me_or_my_webhook(msg) do - {:ok, me} = api.get_current_user() + {:ok, me} = Api.get_current_user() is_me = msg.author.username == me.username and msg.author.discriminator == me.discriminator is_webhook = msg.webhook_id != nil