Skip to content

Instantly share code, notes, and snippets.

View Puyodead1's full-sized avatar
Sparks F L Y when I type! 😂

Puyodead1 Puyodead1

Sparks F L Y when I type! 😂
View GitHub Profile
@Puyodead1
Puyodead1 / features.md
Last active December 11, 2022 14:43 — forked from Techy/features.md
Discord Guild Features

This is an unofficial list of all Discord guild features, for an official list refer to the Discord Developer documentation.

Guild Feature Description
ANIMATED_ICON Allows the server to set an animated icon. Used in server boosting, level 1
BANNER Allows the server to set a banner which is shown at the top of all the channels. Used in server boosting, level 2
COMMERCE Given to servers with a developer license, allows them to create and use store channels
COMMUNITY Given to servers that enable community in server settings, also gives access to the news feature which allows servers to create announcement channels
DISCOVERABLE Given to servers that enabled discovery guidelines
ENABLED_DISCOVERABLE_BEFORE Given to servers that enabled discovery at any point
@Puyodead1
Puyodead1 / CancellationDetector.java
Created August 28, 2019 22:42 — forked from aadnk/CancellationDetector.java
A class that allows you to detect which plugin cancelled a given event.
package com.comphenix.example;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.EnumMap;
import java.util.Iterator;
import java.util.List;
import org.bukkit.event.Cancellable;