[ prog / sol / mona ]

sol


Discord banning unofficial clients

16 2020-12-01 15:38

You can still make your own client, or at least modify the official client. Mine has several novelty features, including a built-in Scheme interpreter. It makes e-girls wet, check this:

const Discord = require('discord.js-selfbot');
const client = new Discord.Client();
const BiwaScheme = require('biwascheme');

client.on("message", function(message) {
  if (message.content.startsWith("```") && message.author.id == 1234567890)  {
     console.log(message.content.substring(3, commandBody.length - 3))
     message.reply("```\n" +`${BiwaScheme.run(message.content.substring(3, commandBody.length - 3))}` + "```\n");
  }
}
});
client.login("my_account_token");

Example of usage:

(define zero (lambda (f) (lambda (x) x)))
(define add-1 (lambda (n) (lambda (f) (lambda (x) (f ((n f) x))))))
(define two (lambda (f) (lambda (x) (f (f x)))))
(define square (lambda (n) (two n)))
(define add1
  (lambda (x) (set! x (+ x 1))
  x))
(define (church->int n)
  ((n add1) 0))
(define int->church
  (lambda (n)
    (if (zero? n)
        zero
        (add-1 (int->church (- n 1))))))
(define fourteen (int->church 14))
(church->int (square fourteen))

@autist,

196
21


VIP:

do not edit these