Browse Source

Remove unused row parameter from TextDisplay

auto/crowdin
Rapptz 3 days ago
parent
commit
24d3a12117
  1. 3
      discord/ui/text_display.py

3
discord/ui/text_display.py

@ -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…
Cancel
Save