Skip to content

Commit

Permalink
Type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
olijeffers0n committed Jun 15, 2023
1 parent 19eaecd commit a626614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rustplus/api/rust_api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import asyncio
import requests
from typing import List
from typing import List, Union
from PIL import Image
from io import BytesIO
from datetime import datetime
Expand Down Expand Up @@ -84,7 +84,7 @@ async def get_time(self) -> RustTime:

return format_time(response)

async def send_team_message(self, message: str) -> None:
async def send_team_message(self, message: Union[str, object]) -> None:
await self._handle_ratelimit(2)

app_send_message = AppSendMessage()
Expand Down

0 comments on commit a626614

Please sign in to comment.