File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55from utils .db import config
66
77
8- async def no_op (* args , ** kwargs ):
8+ def no_op ():
99 pass
1010
1111
@@ -16,7 +16,7 @@ async def wrapper(*args, **kwargs):
1616
1717 if not e :
1818 print (f'[SUSPICIOUS] No entities passed to { func .__name__ } are, or contain a `Guild`!' )
19- return await no_op ()
19+ return no_op ()
2020
2121 if hasattr (e , 'guild' ):
2222 e = e .guild
@@ -29,6 +29,6 @@ async def wrapper(*args, **kwargs):
2929 log_channel = next (c for c in e .text_channels if c .id == log_channel_id )
3030 return await func (* args , ** kwargs , log_channel = log_channel )
3131
32- return await no_op () # Guild has no config, or existing log channel.
32+ return no_op () # Guild has no config, or existing log channel.
3333
3434 return wrapper
You can’t perform that action at this time.
0 commit comments