A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

Overview
Senpai Banner Discord server invite PyPI version info PyPI download info PyPI supported Python versions Documentation Status

A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

Key Features

  • Modern Pythonic API using async and await.
  • Proper rate limit handling.
  • Optimised in both speed and memory.

Installing

Python 3.8 or higher is required

To install the library without full voice support, you can just run the following command:

# Linux/macOS
python3 -m pip install -U sen-pai

# Windows
py -3 -m pip install -U sen-pai

Otherwise to get voice support you should run the following command:

# Linux/macOS
python3 -m pip install -U "sen-pai[voice]"

# Windows
py -3 -m pip install -U sen-pai[voice]

To install the development version, do the following:

$ git clone https://github.com/senpai-development/senpai
$ cd senpai
$ python3 -m pip install -U .[voice]

Optional Packages

Please note that on Linux installing voice you must install the following packages via your favourite package manager (e.g. apt, dnf, etc) before running the above commands:

  • libffi-dev (or libffi-devel on some systems)
  • python-dev (e.g. python3.6-dev for Python 3.6)

Quick Example

import senpai
from senpai import anime

bunny = anime.Bunny(command_prefix='>')

@bunny.event
async def on_ready():
    print('UwU online!')

@bunny.command()
async def ping(ctx):
    await ctx.send('pong uwu')

bunny.run('token')

You can find more examples in the examples directory.

Utility Support ----———————————- For other utilities such as music commands are available at BunnyUtils

This includes paginator and invite manager, more updates to BunnyUtils is coming soon!

Links

You might also like...
An async python wrapper to interact with the Steam API and its CMs

steam.py A modern, easy to use, and async ready package to interact with the Steam API. Heavily inspired by discord.py and borrowing functionality fro

Discord-Wrapper - Discord Websocket Wrapper in python

This does not currently work and is in development Discord Websocket Wrapper in

The modern Lavalink wrapper designed for discord.py
The modern Lavalink wrapper designed for discord.py

Pomice The modern Lavalink wrapper designed for discord.py This library is heavily based off of/uses code from the following libraries: Wavelink Slate

This is a simple unofficial async Api-wrapper for tio.run

Async-Tio This is a simple unofficial async Api-wrapper for tio.run

Acc-discord-rpc - Assetto Corsa Competizione Discord Rich Presence Client
Acc-discord-rpc - Assetto Corsa Competizione Discord Rich Presence Client

A simple Assetto Corsa Competizione Rich Presence client. This app only works in

A Anything goes Discord bot written in python and uses the wrapper Discord.py

GerardTheWizard A Anything goes Discord bot written in python and uses the wrapper Discord.py What can he do? Allow users to level up through typing,

A PowerPacked Version Of Telegram Leech Bot With Modern Easy-To-Use Interface & UI !
A PowerPacked Version Of Telegram Leech Bot With Modern Easy-To-Use Interface & UI !

FuZionX Leech Bot A Powerful Telegram Leech Bot Modded by MysterySD to directly Leech to Telegram, with Multi Direct Links Support for Enhanced Leechi

Petpy is an easy-to-use and convenient Python wrapper for the Petfinder API.

Petpy is an easy-to-use and convenient Python wrapper for the Petfinder API. Includes methods for parsing output JSON into pandas DataFrames for easier data analysis

ro.py is a modern, asynchronous Python 3 wrapper for the Roblox API.

GitHub | Discord | PyPI | Documentation | Examples | License Overview Welcome to ro.py! ro.py is an asynchronous, object-oriented wrapper for the Robl

Releases(v3.0.1)
  • v3.0.1(Nov 1, 2021)

  • v3.0.0(Nov 1, 2021)

    What's Changed

    • Adding Bunny Class by @VincentRPS in https://github.com/senpai-development/senpai/pull/10
    • V3 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/11
    • V3.0.0 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/13

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.5...v3.0.0

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0b1(Nov 1, 2021)

    What's Changed

    • Adding Bunny Class by @VincentRPS in https://github.com/senpai-development/senpai/pull/10
    • V3 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/11
    • V3.0.0 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/13

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.5...v3.0.0b1

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0a1(Nov 1, 2021)

    What's Changed

    • Adding Bunny Class by @VincentRPS in https://github.com/senpai-development/senpai/pull/10
    • V3 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/11
    • V3.0.0 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/13

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.5...v3.0.0a1

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0rc1.1(Oct 31, 2021)

    What's Changed

    • Adding Bunny Class by @VincentRPS in https://github.com/senpai-development/senpai/pull/10
    • V3 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/11
    • V3.0.0 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/13

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.5...v3.0.0rc1.1

    Source code(tar.gz)
    Source code(zip)
  • v3.0.0rc1(Oct 31, 2021)

    What's Changed

    • Adding Bunny Class by @VincentRPS in https://github.com/senpai-development/senpai/pull/10
    • V3 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/11
    • V3.0.0 Docs by @VincentRPS in https://github.com/senpai-development/senpai/pull/13

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.5...v3.0.0rc1

    Source code(tar.gz)
    Source code(zip)
  • 2.6.5.1(Oct 30, 2021)

  • 2.6.5(Oct 30, 2021)

    What's Changed

    • Rewrite by @VincentRPS in https://github.com/senpai-development/senpai/pull/9

    Full Changelog: https://github.com/senpai-development/senpai/compare/2.6.4...2.6.5

    Source code(tar.gz)
    Source code(zip)
  • 2.6.4(Oct 30, 2021)

  • 2.6.4rc1(Oct 29, 2021)

  • 2.6.3.3(Oct 29, 2021)

  • 2.6.2(Oct 29, 2021)

  • 2.6.1(Oct 29, 2021)

  • 2.6.0(Oct 29, 2021)

  • 2.5.9(Oct 29, 2021)

    What's Changed

    • ANIME IS TEMPOARY CHADNESS IS FOREVER 🗿 by @alexyy802 in https://github.com/waifucord/waifucord/pull/2
    • Redid The Fork by @VincentRPS in https://github.com/waifucord/waifucord/pull/7

    Full Changelog: https://github.com/waifucord/waifucord/compare/2.5.8...2.5.9

    Source code(tar.gz)
    Source code(zip)
  • 2.5.8(Oct 29, 2021)

    What's Changed

    • Fixed utils Error by @VincentRPS in https://github.com/waifucord/waifucord/pull/5

    Full Changelog: https://github.com/waifucord/waifucord/compare/2.5.7...2.5.8

    Source code(tar.gz)
    Source code(zip)
  • 2.5.7(Oct 29, 2021)

    What's Changed

    • ANIME IS TEMPOARY CHAD IS FOREVER :moyai: by @alexyy802 in https://github.com/waifucord/waifucord/pull/4

    Full Changelog: https://github.com/waifucord/waifucord/compare/2.5.6...2.5.7

    Source code(tar.gz)
    Source code(zip)
  • 2.5.5(Oct 29, 2021)

  • 2.5.4(Oct 29, 2021)

  • 2.5.3(Oct 29, 2021)

    What's Changed

    • Re docs by @VincentRPS in https://github.com/waifucord/waifucord/pull/3

    New Contributors

    • @VincentRPS made their first contribution in https://github.com/waifucord/waifucord/pull/3

    Full Changelog: https://github.com/waifucord/waifucord/compare/v1.7.0...2.5.3

    Source code(tar.gz)
    Source code(zip)
Owner
Senpai Development
A library for anime enjoyers
Senpai Development
Deezer client for python

Deezer Python Client A friendly Python wrapper around the Deezer API. Installation The package is published on PyPI and can be installed by running: p

Bruno Alla 103 Dec 19, 2022
Python Library for Secp256k1 Bitcoin curve to do fast ECC calculation

secp256k1 Python Library for Secp256k1 Bitcoin curve to do fast ECC calculation Example Usage import secp256k1 as ice print('[C]',privatekey_to_addres

iceland 49 Jan 01, 2023
LEC_Ditto is a bot that tracks the follows and unfollows of Twitter accounts

✨ LEC_Ditto ✨ I'm Ditto, and I'm a bot 🤖 . Getting Started | Installation | Usage Getting Started LEC_Ditto is a bot that tracks the follows and unfo

2 Mar 30, 2022
A discord.py code generator program. Compatible with both linux and windows.

Astro-Cord A discord.py code generator program. Compatible with both linux and windows. About This is a program made to make discord.py bot developmen

Astro Inc. 2 Dec 23, 2021
Tiktok-bot - A Simple Tiktok bot With Python

Install the requirements pip install selenium pip install pyfiglet==0.7.5 How ca

Muchlis Faroqi 5 Aug 23, 2022
Stock trading bot made using the Robinhood API / Python library...

High-Low Stock trading bot made using the Robinhood API / Python library... Index Installation Use Development Notes Installation To Install and run t

Reed Graff 1 Jan 07, 2022
AminoLab Library For AminoApps using aminoapps.com/api

AminoLab AminoLab Api For AminoApps using aminoapps.com/api Installing pip install AminoLab Example #Login import AminoLab client = AminoLab.Client()

10 Sep 26, 2022
Wrapper around the UPS API for creating shipping labels and fetching a package's tracking status.

ClassicUPS: A Useful UPS Library ClassicUPS is an Apache2 Licensed wrapper around the UPS API for creating shipping labels and fetching a package's tr

Jay Goel 55 Dec 12, 2022
This is a simple bot for running Python code through Discord

Python Code Runner Discord Bot This is a simple bot for running Python code through Discord. It was originally developed for the Beginner.Codes Discor

beginner.py 1 Feb 14, 2022
ignorant allows you to check if a phone number is used on different sites like snapchat, instagram.

Ignorant For BTC Donations : 1FHDM49QfZX6pJmhjLE5tB2K6CaTLMZpXZ ignorant does not alert the target phone number ignorant allows you to check if a phon

Palenath 513 Dec 31, 2022
Skyscanner Python SDK

Skyscanner Python SDK Important As of May 1st, 2020, the project is deprecated and no longer maintained. The latest update in v1.1.5 includes changing

Skyscanner 118 Sep 23, 2022
Unirest in Python: Simplified, lightweight HTTP client library.

Unirest for Python Unirest is a set of lightweight HTTP libraries available in multiple languages, built and maintained by Mashape, who also maintain

Kong 432 Dec 21, 2022
Crypto Signal Provider - A web application that allows users to select a cryptocurrency

Crypto_Signal_Provider This is a web application that allows users to select a c

Raul 2 Dec 11, 2022
Create Discord Accounts Semi-Automatically Without Captcha Solving API Key

Discord-Account-Generator Create Discord Accounts Semi-Automatically without captcha solving api key IMPORTANT: Your chromedriver version should be th

NotSakshyam 11 Mar 21, 2022
Fetch tracking numbers of Amazon orders, for the ease of the logistics.

Amazon-Tracking-Number Fetch tracking numbers of Amazon orders, for the ease of the logistics. Read Me First (How to use this code): Get Amazon "Items

Tony Yao 1 Nov 02, 2021
Bifrost C2. Open-source post-exploitation using Discord API

Bifrost Command and Control What's Bifrost? Bifrost is an open-source Discord BOT that works as Command and Control (C2). This C2 uses Discord API for

38 Dec 05, 2022
Telegram üzerinden paylaşılan kısa linkleri geçmenin daha hızlı bir yolu

Telegram Url skipper Telegramda paylaşılan kısa linkleri geçmenin daha hızlı bir yolu · Hata Raporla · Öneri Yap İçerik Tablosu Kurulum Kullanım Lisan

WarForPeace 6 Oct 07, 2022
This Code is Property of Rehyann Saini. Feel Free to use this Project.

Email-Spammer Rehyann Saini in Collabration With Fe13 Productions This is an easy to use Dev Friendly Email spammer... #Important Things to know..! St

Rehyann Saini 1 Jan 14, 2022
A self-hosted Discord music bot.

Cassette A self-hosted Discord music bot. Requirements py-cord pynacl pytube Setup Intended to be hosted on Heroku. Fork or clone this repo. Create a

Lohan 8 Apr 28, 2022
Elemeno.ai standard development kit in Python

Overview A set of glue code and utilities to make using elemeno AI platform a smooth experience Free software: Apache Software License 2.0 Installatio

Elemeno AI 3 Dec 14, 2022