mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 07:54:36 +00:00
Return early if no kwargs are given to GuildChannel.move
This commit is contained in:
parent
a30ad6acf2
commit
7f0db1f35a
@ -767,6 +767,9 @@ class GuildChannel:
|
||||
Moving the channel failed.
|
||||
"""
|
||||
|
||||
if not kwargs:
|
||||
return
|
||||
|
||||
beginning, end = kwargs.get('beginning'), kwargs.get('end')
|
||||
before, after = kwargs.get('before'), kwargs.get('after')
|
||||
offset = kwargs.get('offset', 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user