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
A complete Python application to automatize the process of uploading files to Amazon S3

Upload files or folders (even with subfolders) to Amazon S3 in a totally automatized way taking advantage of: Amazon S3 Multipart Upload: The uploaded

Pol Alzina 1 Nov 20, 2021
Robot to convert files to direct links, hosting files on Telegram servers, unlimited and without restrictions

stream-cloud demo : downloader_star_bot Run : Docker : install docker , docker-compose set Environment or edit Config/init.py docker-compose up Heroku

53 Dec 21, 2022
A WhatsApp Crashing Tool for Termux

CrashW A WhatsApp Crashing Tool For Termux Users Installing : apt update && apt upgrade -y pkg install python3 pkg install git git clone git://gith

Gokul Mahato 20 Dec 27, 2022
A Python library for the Buildkite API

PyBuildkite A Python library and client for the Buildkite API. Usage To get the package, execute: pip install pybuildkite Then set up an instance of

Peter Yasi 29 Nov 30, 2022
ALIEN: idA Local varIables rEcogNizer

ALIEN: idA Local varIables rEcogNizer ALIEN is an IDA Pro plugin that allows the user to get more information about ida local variables with the help

16 Nov 26, 2022
A Discord bot to allow people to create lists of random characters, with limit reroll options.

Mugen Bot A small bot I made to practice python and allow people to publically select random characters on a discord server. Uses py-cord, as that is

Haley 2 Feb 06, 2022
Easy to use Google Pub/Sub

Relé makes integration with Google PubSub straightforward and easy. Motivation and Features The Publish-Subscribe pattern and specifically the Google

Mercadona 188 Jan 06, 2023
QuickStart specific rules for cfn-python-lint

AWS Quick Start cfn-lint rules This repo provides CloudFormation linting rules specific to AWS Quick Start guidelines, for more information see the Co

AWS Quick Start 12 Jul 30, 2022
❄️ Don't waste your money paying for new tokens, once you have used your tokens, clean them up and resell them!

TokenCleaner Don't waste your money paying for new tokens, once you have used your tokens, clean them up and resell them! If you have a very large qua

0xVichy 59 Nov 14, 2022
ABACUS Aroio API for Webinterfaces and App-Connections

ABACUS Aroio API for Webinterfaces and App-Connections Setup Start virtual python environment if you don't have python3 running setup: $ python3 -m ve

Abacus Aroio Developer Team 1 Apr 01, 2021
All in one Search Engine Scrapper for used by API or Python Module. It's Free!

All in one Search Engine Scrapper for used by API or Python Module. How to use: Video Documentation Senginta is All in one Search Engine Scrapper. Wit

33 Nov 21, 2022
Async client API for the Telegram Group Calls

PyTgCalls This project allow to make Telegram group call with MTProto Api using Pyrogram and WebRTC, this is possible thanks to the power of NodeJS's

185 Jan 03, 2023
AutomaTik is an automation system for MikroTik devices with simplicity and security in mind.

AutomaTik Installation AutomaTik is an automation system for MikroTik devices with simplicity and security in mind. Winbox is the main tool for MikroT

Osman Kazdal 4 Dec 05, 2022
修改自SharpNoPSExec的基于python的横移工具 A Lateral Movement Tool Learned From SharpNoPSExec -- Twitter: @juliourena

PyNoPSExec A Lateral Movement Tool Learned From SharpNoPSExec -- Twitter: @juliourena 根据@juliourena大神的SharpNOPsExec项目改写的横向移动工具 Platform(平台): Windows 1

<a href=[email protected]"> 23 Nov 09, 2022
Requests based multi-threaded script for increasing followers on Spotify

Proxyless Spotify Follow Bot Requests based multi-threaded script for increasing followers on Spotify. Click here to report bugs. Usage Download ZIP h

397 Jan 03, 2023
Code to help me strengthen my bot army

discord-bot-manager an api to help you manage your other bots auth lazy: using the browser dev tools, capture a post call and view the Authorization h

Riley Snyder 2 Mar 18, 2022
Telegram Google Translater Bot

Google-Translater-Bot Hey Mo Tech, I am simple Google Translater Bot. I can translate any language to you selected language Team Mo Tech Deploy To Her

21 Dec 01, 2022
With Google Drive API. My computer and my phone are in love now.

Channel trought Google Drive Google Drive API In this case, "Google Drive App" is the program. To install everything you need(has some extra things),

Luis Quiñones Requelme 1 Dec 15, 2021
Materials for the AMS 2022 Student Conference Python Workshop.

AMS 2022 Student Conference Python Workshop Let's talk MetPy! Here you will find a collection of notebooks we will be demonstrating and working throug

Unidata 4 Dec 13, 2022
A Discord bot themed around the Swedish heavy metal band Sabaton! (Python)

A Discord bot themed around the Swedish heavy metal band Sabaton! (Python)

Evan Lundberg 1 Nov 29, 2021