Skip to content
This repository has been archived by the owner on May 27, 2019. It is now read-only.

Latest commit

 

History

History
21 lines (16 loc) · 646 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 646 Bytes

discord-ext-copus

Cython bindings of libopus for discord.py

Usage

from discord.ext import copus
copus.install()

This monkeypatches the extension objects into discord.py, replacing the pure-python+ffi ones. To revert this simply call copus.uninstall().

But why?

I know replacing C code interaction with slightly more C code interaction isn't going to net any big gains. This was made mostly as an experiment for use in future projects.

Requirements

  • Python 3.6.4+
  • discord.py

Compiling from source requires:

  • cython 0.27.3