Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Latest commit

 

History

History
51 lines (32 loc) · 1.64 KB

README.md

File metadata and controls

51 lines (32 loc) · 1.64 KB

Powercord Brainfuck

This is a powercord module that allows you to convert between brainfuck and plain text straight from discord. In both directions!

On first launch it will download a platform specific binary to handle the converting, as it would be pretty inefficient to run brainfuck with javascript.

This binary is downloaded from here.

The code for the aformentioned binary is licensed under the GPL-3.0 license and can be found here

Commands

This plugin registers the following commands. If your prefix is something different than . simply replace it with whatever you use.

The output is automatically uploaded to hastebin if it is too long for discord.


.brainfuck [--send] [TEXT | FILE_URL | --clipboard]

Interpret any valid brainfuck code. Sent via clyde unless --send flag is specified

Input can either be a URL to a file, any text or --clipboard to use whatever is in your clipboard

Examples:

.brainfuck --send >+++++++++++[<+++++++++++>-]<---.>++++[<---->-]<-.+++++++++.>+++[<--->-]<-.+++++.------.--.>++++[<++++>-]<+++.>++++[<---->-]<+.-.
.brainfuck https://google.com/secret_brainfuck_code.bf
.brainfuck --send --clipboard

.tobrainfuck [--send] [TEXT | FILE_URL | --clipboard]

Convert text to brainfuck. Sent via clyde unless --send flag is specified

Input can either be a URL to a file, any text or --clipboard to use whatever is in your clipboard

Examples:

.tobrainfuck --send Hello World!
.tobrainfuck https://google.com
.tobrainfuck --send --clipboard