Skip to content

Improve the display of Discord code blocks when bridging to IRC #81

@ilyagr

Description

@ilyagr

If I type in Discord:

```python
def f():
  return 2 + 2
```
image

I get this on IRC:

16:29:18 <BridgeBot`> <i​ly​ag​r> def f(): 
16:29:19 <BridgeBot`> <i​ly​ag​r>   return 2 + 2
16:29:20 <BridgeBot`> <i​ly​ag​r> 
image

I wonder if this could be improved.

It would help if the bot could leave the "```python" line and the closing backticks on the IRC side.

It would be even better if it could be indicated that these lines come from a single Discord message. If something even better could happen -- that is even better!

P.S. Thanks for the nice project with the simple setup and clear instructions! It helps a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't workingtype: featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions