Skip to content

Commit

Permalink
fix: run codemod
Browse files Browse the repository at this point in the history
  • Loading branch information
elenakrittik committed Nov 12, 2023
1 parent 416333e commit f677880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disnake/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def loop(self):
return asyncio.get_running_loop()

@loop.setter
def loop(self, _value: Never):
def loop(self, _value: Never) -> None:
warnings.warn(
"Setting `Client.loop` is deprecated and has no effect. Use `asyncio.get_running_loop()` instead.",
category=DeprecationWarning,
Expand Down

0 comments on commit f677880

Please sign in to comment.