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 @@ -61,7 +61,7 @@ class Filters:
6161
6262 Parameters
6363 ----------
64- filter_decorator : :meth:`Filters.filter_decorator `
64+ interface : :meth:`Filters.interface `
6565
6666 """
6767 def __init__ (self , ** kwargs ):
@@ -71,7 +71,7 @@ def __init__(self, **kwargs):
7171 self .finished = False
7272
7373 @staticmethod
74- def filter_decorator (func ): # Contains all filters
74+ def interface (func ): # Contains all filters
7575 def _filter (self , data , user ):
7676 if not self .filtered_users or user in self .filtered_users :
7777 return func (self , data , user )
@@ -200,7 +200,7 @@ def init(self, vc): # called under listen
200200 self .vc = vc
201201 super ().init ()
202202
203- @Filters .filter_decorator
203+ @Filters .interface
204204 def write (self , data , user ):
205205 if user not in self .audio_data :
206206 ssrc = self .vc .get_ssrc (user )
You can’t perform that action at this time.
0 commit comments