From d93d56e99f6b0ef70be105d18a7653455ef637e9 Mon Sep 17 00:00:00 2001 From: aeru Date: Mon, 26 Oct 2026 03:05:17 +0100 Subject: [PATCH] fix for whitelist .L.... --- dfu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dfu.py b/dfu.py index c57d3d8..235787d 100644 --- a/dfu.py +++ b/dfu.py @@ -11,7 +11,7 @@ from core.whitelist import Whitelist dotenv.load_dotenv() env=dotenv.find_dotenv() token=dotenv.get_key(env,"TOKEN");log=dotenv.get_key(env,"LOG") -bot=commands.Bot(command_prefix=";",self_bot=True,help_command=None) +bot=commands.Bot(command_prefix=";",user_bot=True,help_command=None) def banned(e): return isinstance(e,discord.LoginFailure) or (isinstance(e,discord.ConnectionClosed) and e.code==4004) or (isinstance(e,discord.HTTPException) and e.status in(401,403)) async def guard():