Skip to content

Commit

Permalink
Stringify content
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny2github committed Jan 14, 2021
1 parent 357295a commit cfdff74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions discord/ext/slash/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ async def respond(
rtype: :class:`InteractionResponseType`
The type of response to send. See that class's documentation.
"""
content = str(content)
if embed and embeds:
raise TypeError('Cannot specify both embed and embeds')
if embed:
Expand Down

0 comments on commit cfdff74

Please sign in to comment.