File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,12 @@ def in_month(*allowed_months: Month) -> Callable:
111111 def decorator (callable_ : Callable ) -> Callable :
112112 # Functions decorated as commands are turned into instances of `Command`
113113 if isinstance (callable_ , Command ):
114- logging .debug (f"Command { callable_ .qualified_name } will be locked to { human_months (allowed_months )} " )
114+ log .debug (f"Command { callable_ .qualified_name } will be locked to { human_months (allowed_months )} " )
115115 actual_deco = in_month_command (* allowed_months )
116116
117117 # D.py will assign this attribute when `callable_` is registered as a listener
118118 elif hasattr (callable_ , "__cog_listener__" ):
119- logging .debug (f"Listener { callable_ .__qualname__ } will be locked to { human_months (allowed_months )} " )
119+ log .debug (f"Listener { callable_ .__qualname__ } will be locked to { human_months (allowed_months )} " )
120120 actual_deco = in_month_listener (* allowed_months )
121121
122122 # Otherwise we're unsure exactly what has been decorated
You can’t perform that action at this time.
0 commit comments