Skip to content

Instantly share code, notes, and snippets.

@jacklight74
jacklight74 / create.html
Created May 29, 2025 01:05
server django question
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>새로운 질문 만들기</title>
</head>
<body>
<script>
let choiceCount = 1;
function addChoice() {

On Resuming discord.py Development

It's been [6 months][og_gist] since I announced my departure from the ecosystem and a lot has happened during that time.

During the last 2 weeks, many contributors and I came together and saw the state of the Python Discord bot ecosystem was mostly on fire. After some contemplating, with the help of others, I came to the conclusion that development should resume. During these two weeks a lot of work was spent into catching up and implementing many things to the discord.py project and to eventually launch a v2.0 release. We're on a deadline but we got a lot of work done.

Why did you come back?

About three weeks ago, Discord [announced][decommission] that it would decommission API versions 6 and 7 on May 1st, 2022. While the current beta version, v2.0, is on version 9, the current stable version of discord.py, v1.7.3, is on version 7 of the API. This means that Discord's plan to decommission v6 and 7 will result in all bots on the stable version of discord.py ceasing

@jacklight74
jacklight74 / DiscordEmojiInfo.js
Last active May 4, 2021 01:50
Discord emoji information generator
var findModule = (item) => Object.values(webpackJsonp.push([[],{['']:(_,e,r)=>{e.cache=r.c}}, [['']]]).cache).find(m=>m.exports&&m.exports.default&&m.exports.default[item]!==void 0).exports.default;
findModule('sendMessage').sendMessage = (sendMessage => async(id, message, ...params) => {
if (message['content'].startsWith("getinfo <:") || message['content'].startsWith("getinfo <a:")) {
let arr = []
message.validNonShortcutEmojis.forEach(emoji => {
var emojiuse = message['content'].replace('getinfo ', '')
arr.push(` ${emojiuse}\n`)
arr.push(`Emoji \`${emoji.name}\` (${emoji.id})\n`)
arr.push(`Emoji Animated \`${emoji.animated}\` \n`)
arr.push(`Emoji Available \`${emoji.available}\` \n`)