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():