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_o/user/hh.py
2021-07-07 02:00:26 +08:00

16 lines
295 B
Python

import re
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