mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Fix error in define
This commit is contained in:
parent
a2b7602680
commit
415ac2eeb3
1 changed files with 4 additions and 0 deletions
|
|
@ -86,6 +86,10 @@ class Define(commands.Cog):
|
|||
"""
|
||||
text = text.replace("[", "")
|
||||
text = text.replace("]", "")
|
||||
|
||||
if not text:
|
||||
return "N/A"
|
||||
|
||||
return text if len(text) < 1024 else text[:1021] + "..."
|
||||
|
||||
def ratio(self, dic):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue