File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -156,9 +156,9 @@ def on_token_reset(token):
156156
157157 .. code-block:: python3
158158
159- @client.event()
160- async def on_token_reset(token):
161- print('My new token is {}'.format(token))
159+ @client.event()
160+ async def on_token_reset(token):
161+ print('My new token is {}'.format(token))
162162
163163 :param new_token: :class:`str` The new token
164164 """
@@ -176,9 +176,9 @@ def event(self, fctn):
176176
177177 .. code-block:: python3
178178
179- @client.event()
180- async def on_token_reset(token):
181- print('My new token is {}'.format(token))
179+ @client.event()
180+ async def on_token_reset(token):
181+ print('My new token is {}'.format(token))
182182 """
183183 setattr (self , fctn .__name__ , fctn )
184184 log .info ('Successfully registered %s event' , fctn .__name__ )
You can’t perform that action at this time.
0 commit comments