Archived
1
0
Fork 0
This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
akari-bot/modules/user/hh.py
2021-08-07 15:56:48 +08:00

13 lines
287 B
Python

def hh(w):
if len(w) > 15:
w = [w[i:i + 15] for i in range(0, len(w), 15)]
w = '-\n'.join(w)
return w
def hh1(w):
w = '理由“' + w + ''
if len(w) > 25:
w = [w[i:i + 25] for i in range(0, len(w), 25)]
w = '-\n'.join(w)
return w