- Encryption algorithm: aes-256-gcm
- Hashing algorithm: sha512
- Key derivation algorithm: pbkdf2
Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.
To be able to send a colored text, you need to use the ansi
language for your code block and provide a prefix of this format before writing your text:
\u001b[{format};{color}m
body, html { | |
--bg-primary: #292a36; | |
--bg-primary-border: #404154; | |
--bg-secondary: #21222c; | |
--bg-secondary-border: #424457 /* --bg-secondary + 15% Lightness */; | |
--bg-secondary-hover: #2c2d3a /* --bg-secondary + 5% Lightness */; | |
--bg-secondary-active: #373849 /* --bg-secondary + 10% Lightness */; | |
--bg-tertiary: #1e1f29; |
// Core assets | |
let coreAssets = []; | |
// On install, cache core assets | |
self.addEventListener('install', function (event) { | |
// Cache core assets | |
event.waitUntil(caches.open('app').then(function (cache) { | |
for (let asset of coreAssets) { | |
cache.add(new Request(asset)); |
Hello! I'm Amish (also known as hydrabolt), and I am the creator of discord.js.
I created discord.js as a hobby/learning project for myself in August 2015 while I was still a teenager in school.
More than 6 years later, discord.js has become more popular than I could ever imagine, and I cannot express how grateful I am to the other contributors and the community for this amazing experience.
A few of my favourite highlights include:
- The countless voice rewrites (I think we're done with that now 😉)
- The April Fools' traditions
Ian: Well, hello everyone and welcome to the DDev stage channel. So just the heads up before we get started, we're recording this session. So you don't have to, you still can if you want.
Ian: You can share if your friends missed it afterwards. We'll post it. So, my name is Ian, I'm an engineering manager, and I'm joined here by Mason, the product manager for the Bots and API team at Discord along with pretty much the entire Bots team and about 500 of you.
Ian: And today, we're gonna have some fun. We're gathered here for some updates on some of the latest stuff that engineers on the team are building. And we've narrowed it down to four big changes that we've been cooking up. We've managed to get three Discord engineering staff in here and then there's Mason and together, they will talk through some of the changes that we're making.
Ian: And it's honestly very exciting to me just to be able to straight up present our work to the whole community. This is something that we'd like to do more of earlier. So,
By looking that you are here you most likely use Cardboard/Banner/some other weird bukkit + Fabric project (or just someone linked to it).
Don't do it, it will cause more harm/instabilities to your server than good. But let's start at the beginning.
Few definitions before we start:
- Bukkit - It means bukkit, spigot, paper and any forks of these,
- Cardboard - mod by IsaiahPatton that tries to port bukkit ecosystem to fabric.
- Banner - another mod trying to make plugins work with Fabric, similar to Cardboard.
- Fabric - a Minecraft modding platform, includes Fabric Loader and Fabric API, everything written in this gist also applies to Quilt.
- Mods - Mods designed for fabric and compatible platforms
This is my personal list of OptiFine replacements. Although other lists exist, this list aims to be an simple feature replacement list that aims not to overwhelm you.
This list was written with 1.18 and 1.17 in mind, but many mods should still be available for 1.16 and 1.15. The critiques of OptiFine aren't relevant to a specific version of the game.
package net.misode.worldgenexporter; | |
import com.google.gson.Gson; | |
import com.google.gson.GsonBuilder; | |
import com.google.gson.JsonElement; | |
import com.google.gson.JsonObject; | |
import com.mojang.serialization.Codec; | |
import com.mojang.serialization.DynamicOps; | |
import com.mojang.serialization.JsonOps; | |
import net.fabricmc.api.ModInitializer; |
/* | |
* The "brains" of my bot for playing the Asteroid game that was part of the | |
* hermatrix.net ARG in July 2021. | |
* | |
* Copyright 2021 Joakim "firetech" Tufvegren | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a | |
* copy of this software and associated documentation files (the "Software"), | |
* to deal in the Software without restriction, including without limitation | |
* the rights to use, copy, modify, merge, publish, distribute, sublicense, |