FormatBot

FormatBot

5
0

概要

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
about 4 years ago

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

0

xetera
xetera
over 4 years ago

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

1