From 123a065814442753cde2704d3e58764ac4b603d7 Mon Sep 17 00:00:00 2001 From: Krishna-singhal <65902764+Krishna-Singhal@users.noreply.github.com> Date: Tue, 25 May 2021 19:43:49 +0530 Subject: [PATCH] typo (#339) --- userge/plugins/admin/antispam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userge/plugins/admin/antispam.py b/userge/plugins/admin/antispam.py index d21267871..eb433432c 100644 --- a/userge/plugins/admin/antispam.py +++ b/userge/plugins/admin/antispam.py @@ -169,7 +169,7 @@ async def getData(link: str): @pool.run_in_thread def _get_userge_antispam_data(user_id: int): - return Client(Config.USERGE_ANTISPAM_API).get_ban(user_id) + return Client(Config.USERGE_ANTISPAM_API).getban(user_id) @pool.run_in_thread