Skip to content

Commit

Permalink
fix: _bytes_to_base64_data isn't defined
Browse files Browse the repository at this point in the history
  • Loading branch information
llamaair committed Jul 27, 2023
1 parent 0763261 commit d31a439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -2908,7 +2908,7 @@ async def create_role(
if icon is None:
fields["icon"] = None
else:
fields["icon"] = _bytes_to_base64_data(icon)
fields["icon"] = utils._bytes_to_base64_data(icon)
fields["unicode_emoji"] = None

if unicode_emoji is not MISSING:
Expand Down

0 comments on commit d31a439

Please sign in to comment.