Oblivion · Developer

/codereview

Get an AI review of your code: bugs, security, style and best practices. Your code is never run.

Anyone can use it4 optionsAdded in v2.19.0

Example

Type this in any channel where Oblivion can read and send messages.

/codereview language:Python file:bot.py focus:Bugs and correctness

Options

OptionWhat it does
languageRequiredThe language the code is written in
JavaScriptTypeScriptPythonJavaC#C++CGoRustPHPRubyKotlinSwiftLua (FiveM, LÖVE, ...)Luau (Roblox)SQLHTMLCSSShell (Bash)PowerShellDartScalaRJSON / YAML / configOther / not sure
fileOptionalA code file to review. Leave empty to paste your code instead
focusOptionalWhat the review should focus on (default: everything)
Everything (default)Bugs and correctnessSecurityPerformanceStyle and readabilityExplain it like I'm learning
publicOptionalShow the review to the channel instead of just you (default: just you)

Who can use it

Everyone in the server. Server admins can limit it to certain roles or channels under Server Settings, Integrations, Oblivion.

Step-by-step guides

Changes to /codereview

v2.19.0 · Code reviews with /codereview

  • New /codereview command: pick the language, paste your code (or attach a file), and get a review back covering bugs, security, performance, style and best practices, with line numbers, a score out of 10 and suggested fixes.

Add Oblivion to your server

Every feature free. Set up in a couple of minutes from the dashboard or with slash commands.

Add OblivionFree Discord botAdd to Discord