Remove unused row parameter from TextDisplay

This commit is contained in:
Rapptz 2025-08-16 05:36:50 -04:00
parent 4f539b710f
commit 24d3a12117

View File

@ -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