fix: dont parse short words in drink` command part 3
This commit is contained in:
@@ -56,6 +56,7 @@ def AI_RAW(CMD, RAW, RN):
|
|||||||
if DRINK_LOCALE in RAW_SPLIT: INIT_DRINK.append(DRINK_LOCALE)
|
if DRINK_LOCALE in RAW_SPLIT: INIT_DRINK.append(DRINK_LOCALE)
|
||||||
if len(INIT_DRINK) == 2: return CMD.replace('{RAW}', ' '.join(AI_UNIQUE(INIT_DRINK))), True
|
if len(INIT_DRINK) == 2: return CMD.replace('{RAW}', ' '.join(AI_UNIQUE(INIT_DRINK))), True
|
||||||
else:
|
else:
|
||||||
|
INIT_DRINK = []
|
||||||
ddate = readfile(date_file).decode('UTF').lower().split('\n')
|
ddate = readfile(date_file).decode('UTF').lower().split('\n')
|
||||||
for DATE in ddate:
|
for DATE in ddate:
|
||||||
DATE_SPLIT = DATE.split()
|
DATE_SPLIT = DATE.split()
|
||||||
|
|||||||
Reference in New Issue
Block a user