Git Product home page Git Product logo

bin-client-discord's People

Contributors

aakodal avatar antoinejt avatar mesteery avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

aakodal

bin-client-discord's Issues

Typing indicator

Replace "Transformation en cours...." message by a typing indicator

Better link to the bin

Je pense que l'idée de convertir les gros blocs de codes en bin accessibles facilement est vraiment une bonne idée.

Je me dit toutefois qu'elle pourrait être encore améliorée. Un petit problème c'est que le bot "s'incruste" dans les conversations pour donner le lien.

On pourrais peut-être faire en sorte que le lien généré soit donné de manière un peu plus propre.

Pour cela, je pense que cela pourrait être très bien de le faire à l'aide de webhook.

Les webhooks sont des éléments attachés à un channel qui permettent d'envoyer des messages comme si c'était un réel bot. La particularité intéressante est que l'on peux personnaliser le nom et la photo de profil pour mettre ce que l'on veux.

Je pense que cela pourrait être bien d'utiliser ça, pour faire comme si c'était la personne qui a envoyée le code qui envoie le lien, en plus cela n'est pas forcément problématique parce que on peut utiliser des embeds avec le webhook.

De plus quelque-chose de sympa en plus à faire, ça pourrait être de mettre une image du code un peu comme Carbon pour les codes assez courts pour rendre bien.

Wrong URL

Hello there,

I sent a message which was only containing python-styled markdown code:

```python
# the content is useless
```

The bot successfully created the bin at the identifier netype but the link set by the bot was https://bin.readthedocs.fr/netpython which lead to a 404 snippet not found page.

To reproduce, change the ident = pronounceable_passwd(6) line of bin/models.py around line 19 by ident = "netype" and send a python-styled markdown code.

Releases / continuous deployment

We should start to "version" this project.
Release-Please would create complete releases (complete changelog, etc.) from the commits. When its PR is merge, the hosted bot would be automatically updated.
In other words, with each release (via Release-Please) the bot is deployed.

(This can be done easily if we use railway.app for hosting the bot.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.