why am i a fucking idiot

api -> Api
master
Rachel Fae Fox (foxiepaws) 2020-09-04 06:06:57 -04:00
parent 71b2d0e1a3
commit a65e70b3c7
1 changed files with 1 additions and 1 deletions

View File

@ -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