Skip to content

Commit b28563f

Browse files
committed
fix documentation errors
1 parent ead1451 commit b28563f

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

dbl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
"""
44
DBL Python API Wrapper
5-
~~~~~~~~~~~~~~~~~~~
5+
~~~~~~~~~~~~~~~~~~~~~~
66
A basic wrapper for the discordbots.org API.
77
:copyright: (c) 2018 Francis Taylor & discordbots.org
88
:license: MIT, see LICENSE for more details.

dbl/client.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ async def get_user(self, id: int):
339339
async def generate_widget_large(self, id: int, top: str = '2C2F33', mid: str = '23272A', user: str = 'FFFFFF', cert: str = 'FFFFFF', data: str = 'FFFFFF', label: str = '99AAB5', highlight: str = '2C2F33'):
340340
"""This function is a coroutine.
341341
342-
#` to the color codes (e.g. #FF00FF become FF00FF).
343-
Generates a custom large widget. Do not add `
342+
Generates a custom large widget. Do not add `#` to the color codes (e.g. #FF00FF become FF00FF).
343+
344344
345345
346346
Parameters
@@ -423,8 +423,7 @@ async def get_widget_large(self, id: int):
423423
async def generate_widget_small(self, id: int, avabg: str = '2C2F33', lcol: str = '23272A', rcol: str = '2C2F33', ltxt: str = 'FFFFFF', rtxt: str = 'FFFFFF'):
424424
"""This function is a coroutine.
425425
426-
#` to the color codes (e.g. #FF00FF become FF00FF).
427-
Generates a custom large widget. Do not add `
426+
Generates a custom large widget. Do not add `#` to the color codes (e.g. #FF00FF become FF00FF).
428427
429428
Parameters
430429
==========

0 commit comments

Comments
 (0)