Skip to content

Instantly share code, notes, and snippets.

View BobDotCom's full-sized avatar
👀
probably working on pycord

BobDotCom BobDotCom

👀
probably working on pycord
View GitHub Profile
ODgxMjI1MjAwNzM2MjgwNjE2.GGqqeI.qFiV28cEQ4GmFDIuSjes_7h-2cZ0XJCvB7yAv8
@BobDotCom
BobDotCom / breaking-changes-pyc.md
Last active July 8, 2022 23:13
Breaking changes in Pycord 2.0

Breaking Changes of pycord 2.0

These are the breaking changes of pycord version 2.0. This gist is copied from breaking-changes-dpy.md and will be maintained for pycord.

"Breaking change" includes:

  • [R]emoval: a feature is removed.
  • [N]ame changes: a feature is renamed.
  • [B]ehavior: something does not behave the way they did in 1.x.
  • [T]yping: types of arguments, attributes or return values changes in an incompatible way. (e.g. None disallowed for argument)
from typing import Optional
from werkzeug.serving import make_server
import threading
from flask import Flask, request, current_app
import logging
logging.basicConfig(level=0, format="%(asctime)s [%(levelname)s] (%(name)s): %(message)s")