mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-08-23 03:41:42 +00:00
Remove unused row parameter from TextDisplay
This commit is contained in:
parent
4f539b710f
commit
24d3a12117
@ -21,6 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|||||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
DEALINGS IN THE SOFTWARE.
|
DEALINGS IN THE SOFTWARE.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from typing import TYPE_CHECKING, Literal, Optional, TypeVar
|
from typing import TYPE_CHECKING, Literal, Optional, TypeVar
|
||||||
@ -56,7 +57,7 @@ class TextDisplay(Item[V]):
|
|||||||
|
|
||||||
__slots__ = ('content',)
|
__slots__ = ('content',)
|
||||||
|
|
||||||
def __init__(self, content: str, *, row: Optional[int] = None, id: Optional[int] = None) -> None:
|
def __init__(self, content: str, *, id: Optional[int] = None) -> None:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.content: str = content
|
self.content: str = content
|
||||||
self.id = id
|
self.id = id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user