This commit is contained in:
Nexus 2023-08-28 22:50:29 +01:00 committed by GitHub
parent 4ae0651e13
commit aaf2ed011e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -473,7 +473,7 @@ class Events(commands.Cog):
r"(bor(r)?is|johnson)": {
"file": discord.File(assets / "boris.jpeg")
},
r"\W?(s(ource\w)?)?l(ines\s)?o(f\s)?c(ode)?(\W)?": {
r"\W?(s(ource\w)?)?l(ines\s)?o(f\s)?c(ode)?(\W)?$": {
"content": lambda: "I have {:,} lines of source code across {:,} files!".format(*get_sloc_count())
}
}