forked from rDrama/rDrama
1
0
Fork 0

remove unnecessary upper

master
Aevann 2024-02-29 17:05:15 +02:00
parent 5213dd32dc
commit 10981eea06
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ commands = {
command_regex = re.compile("(\s|^)#(fortune|factcheck|8ball|roll([1-9][0-9]*)|coinflip)", flags=re.A|re.I)
def command_regex_matcher(match, upper=False):
def command_regex_matcher(match):
if match.group(2) == 'coinflip' and random.random() < 0.01:
result = COINFLIP_EDGE
else: