Skip to content

Commit b251798

Browse files
committed
Fix changelog version parsing
1 parent e884a6c commit b251798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/changelog.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def embed(self):
4242
class ChangeLog:
4343

4444
changelog_url = 'https://raw.githubusercontent.com/kyb3r/modmail/master/CHANGELOG.md'
45-
regex = re.compile(r'# (v\d\.\d\.\d)([\S\s]*?(?=# v))')
45+
regex = re.compile(r'# (v\d+\.\d+\.\d+)([\S\s]*?(?=# v))')
4646

4747
def __init__(self, bot, text):
4848
self.bot = bot

0 commit comments

Comments
 (0)