FormatBot

FormatBot

概览

FormatBot is a bot for code formatting on Discord. Currently it supports formatting JavaScript, TypeScript, CSS, HTML, C++ and Python.


FormatBot is a easy to use code formatting bot for Discord. It supports many languages, has active developers, is open-source and requires no destructive permissions.

Currently supported languages:

  • JavaScript/JSX
  • TypeScript/TSX
  • Rust
  • C/C++
  • C#/Java
  • JSON/YAML
  • HTML/CSS
  • Python

The interface for the formatters is easily extendable and more languages can be added with ease.

The bot is very simple to use. Simply post some badly formatted code such as

```js

if (a) { b=c; function foo(d) { e=f; } }

if (a) { b=c; function foo(d) { e=f; } }

foo .bar .baz()

```

The bot will automatically detect the language and keep messages in between the code blocks if you had any. To format, you simply right click on the message and click Apps -> Format

Commands: Right-click message with a code block -> Apps -> Format format!status to get bot statistics. /format messageid for mobile users.

评分和评论


5

2 评论

只能由注册用户留下评论。所有评论都由Top.gg版主主持。 请确保在发布之前检查 我们的指南

5 星

2

4 星

0

3 星

0

2 星

0

1 星星

0



ivangodinez21
ivangodinez21
almost 4 years ago

Hey!, this is a great bot, I hope you add more programming languages and other many functions! :)


xetera
xetera
about 4 years ago

I no longer have to worry about copy pasting code with 27 levels of indentation from my editor



Top.gg

探索海量Discord机器人和应用

支持

提交服务单

管理Cookie设置

合作伙伴

Medal

MCP Servers