Skip to content

Commit

Permalink
Cast to a string to avoid floats erroring betterproto
Browse files Browse the repository at this point in the history
  • Loading branch information
olijeffers0n committed May 28, 2023
1 parent 09ca02f commit 7804328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustplus/api/rust_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async def send_team_message(self, message: str) -> None:
await self._handle_ratelimit(2)

app_send_message = AppSendMessage()
app_send_message.message = message
app_send_message.message = str(message)

app_request = self._generate_protobuf()
app_request.send_team_message = app_send_message
Expand Down

0 comments on commit 7804328

Please sign in to comment.