engineer-man / piston-bot

I Run Code bot on Discord
https://emkc.org/run
MIT License
244 stars 36 forks source link

Update codeswap.py #47

Closed Zeeveez closed 3 years ago

Zeeveez commented 3 years ago

self.languages in run.py maps c++, cpp and g++ to c++ as per the runtime list (https://emkc.org/api/v2/piston/runtimes), as a result all the add_boilerplate calls with a c++ alias get called with language == 'c++' and no boilerplate gets added.