Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include ReadTheBin features inside of NotABot #62

Open
Julien00859 opened this issue Sep 10, 2022 · 1 comment
Open

Include ReadTheBin features inside of NotABot #62

Julien00859 opened this issue Sep 10, 2022 · 1 comment

Comments

@Julien00859
Copy link

The bot read-the-bin is a bot that scan messages to find long snippet of codes, i.e. 12+ lines of markdown code-blocks. When such a message is found, it automatically uploads the content of the message to https://bin.readthedocs.fr, my own pastebin-like website. The objective of this bot is to prevent users from posting code that would take the entire screen.

The read-the-bin bot is not always available and its development staled. We suggest to re-implement it our way inside of not-a-bot.

@Elanis
Copy link
Contributor

Elanis commented Sep 10, 2022

An alternative that has been discussed on Not a Name Discord server that could be better on an User-Experience side would be to use integrated code file preview feature.
image

We should detect big code samples (more than X lines) and transform those message to this kind of embed files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants