Skip to content

Instantly share code, notes, and snippets.

View SamuelScheit's full-sized avatar
:octocat:
Working on Respond.chat

Samuel Scheit SamuelScheit

:octocat:
Working on Respond.chat
View GitHub Profile
@RuslanUC
RuslanUC / discord_PreloadedUserSettings.proto
Last active February 24, 2023 10:04
Recovered from https://discord.com/assets/cbc98c97c3635bf34da3.js and has PreloadedUserSettings (/users/@me/settings-proto/1) schema.
syntax = "proto3";
import "google/protobuf/wrappers.proto";
import "google/protobuf/timestamp.proto";
package discord_protos.discord_users.v1.PreloadedUserSettings;
message PreloadedUserSettings {
message Versions {
uint32 client_version = 1;
@a7ul
a7ul / inject_custom_codepush_bundle.ts
Last active January 4, 2023 04:40
How to load custom codepush bundle for a react native app without using offical codepush servers? This can allow us to load code push bundles from anywhere like a gcs bucket or even local http server.
// How to use it ?
// ===============
// Step 1: Create a custom codepush bundle
// ----------------------------------------
// react-native bundle --assets-dest out --bundle-output out/main.jsbundle --dev false --platform ios --entry-file index.ts
// Then just compress the contents of out dir into a single zip file. for example: out.zip
// Step 2: Create a remotePackage json object
// ------------------------------------------
@DasWolke
DasWolke / microservice bots.md
Last active May 4, 2025 15:53
Microservice bots

Microservice Bots

What they are and why you should use them

Introduction

Recently more and more chatbots appear, the overall chatbot market grows and the platform for it grows as well. Today we are taking a close look at what benefits creating a microservice chatbot on Discord - (a communication platform mainly targeted at gamers) would provide.

The concepts and ideas explained in this whitepaper are geared towards bots with a bigger userbase where the limits of a usual bot style appear with a greater effect

Information about Discord itself

(If you are already proficient with the Discord API and the way a normal bot works, you may skip ahead to The Concept)