aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
Diffstat (limited to 'cogs')
-rw-r--r--cogs/compiler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cogs/compiler.py b/cogs/compiler.py
index 3046349..3bc6bef 100644
--- a/cogs/compiler.py
+++ b/cogs/compiler.py
@@ -36,6 +36,7 @@ class Compiler(commands.Cog):
"rust": "rust-head",
"sql": "sqlite-head",
"perl": "perl-head",
+ "elixir": "elixir-head",
"lua": "lua-5.3.4"
}
if not language:
@@ -44,7 +45,7 @@ class Compiler(commands.Cog):
await ctx.send("No code found")
return
try:
- compiler = compilers[language]
+ compiler = compilers[language.lower()]
except KeyError:
await ctx.send("Language not found")
return