mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Fix DynamicItem row attribute being overridden
This commit is contained in:
parent
078b500657
commit
de6a6af5d3
@ -104,6 +104,7 @@ class DynamicItem(Generic[BaseT], Item['View']):
|
|||||||
) -> None:
|
) -> None:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.item: BaseT = item
|
self.item: BaseT = item
|
||||||
|
if row is not None:
|
||||||
self.row = row
|
self.row = row
|
||||||
|
|
||||||
if not self.item.is_dispatchable():
|
if not self.item.is_dispatchable():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user