Skip to content

Commit 8d8dfd9

Browse files
committed
Update wiki regex addendum
1 parent 64c1ce5 commit 8d8dfd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wiki/wiki.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ async def on_message_without_command(self, ctx):
253253
if ctx.channel.id not in channels:
254254
return
255255

256-
ticks = re.findall(r'\`\`([a-zA-Z]{2,}?)\`\`', ctx.content)
256+
ticks = re.findall(r'\`\`(.*?)\`\`', ctx.content)
257257

258258
while("" in ticks):
259259
ticks.remove("")

0 commit comments

Comments
 (0)