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
Make WhatsApp ChatBot and use WhatsApp API to send the WhatsApp messages in python .

Ultramsg.com WhatsApp Bot using WhatsApp API and ultramsg Demo WhatsApp API ChatBot using Ultramsg API with python. Opportunities and tasks: The outpu

Ultramsg 64 Dec 29, 2022
Telegram bot to stream videos in telegram Voice Chat for both groups and channels

Telegram bot to stream videos in telegram Voice Chat for both groups and channels. Supports live steams, YouTube videos and telegram media. Supports scheduling streams, recording and many more.

Akki ThePro 2 Sep 11, 2022
Integrating Amazon API Gateway private endpoints with on-premises networks

Integrating Amazon API Gateway private endpoints with on-premises networks Read the blog about this application: Integrating Amazon API Gateway privat

AWS Samples 12 Sep 09, 2022
A light wrapper around FedEx's SOAP API.

Python FedEx SOAP API Module Author: Greg Taylor, Radek Wojcik Maintainer: Python FedEx Developers License: BSD Status: Stable What is it? A light wra

155 Dec 16, 2022
Bot Realm of the Mad God Exalt (ROTMG). (Auto_nexus, Auto_HP, Auto_Loot)

Bot_ROTMG Bot Realm of the Mad God Exalt (ROTMG). (Auto_nexus, Auto_HP, Auto_Loot) *Este projeto visa apenas o aprendizado, quem faz mal uso é o único

Guilherme Silva Uchoa 1 Oct 30, 2021
A simple and stupid Miinto API wrapper

miinto-api-wrapper Miinto API Wrapper is a simple python wrapper for Miinto API. Miinto is a fashion luxury marketplace. For more information see the

Giuseppe Checchia 3 Jan 09, 2022
Simple contact bot for telegram, written in python.

🔗 | Install Install the requirements with pip install -r requirements.txt 📋 | Setup Get your token from BotFather Get your UserId with Nicegram or w

Stehack 3 Dec 10, 2022
veez music bot is a telegram music bot project, allow you to play music on voice chat group telegram.

🎶 VEEZ MUSIC BOT Veez Music is a telegram bot project that's allow you to play music on telegram voice chat group. Requirements 📝 FFmpeg NodeJS node

levina 143 Jun 19, 2022
Library written in Python that wraps Halo Infinite API.

haloinfinite Library written in Python that wraps Halo Infinite API. Before start It's unofficial, reverse-engineered, neither stable nor production r

Miguel Ferrer 4 Dec 28, 2022
Asynchronous and also synchronous non-official QvaPay client for asyncio and Python language.

Asynchronous and also synchronous non-official QvaPay client for asyncio and Python language. This library is still under development, the interface could be changed.

Leynier Gutiérrez González 8 Sep 18, 2021
Grocy-create-product - A script supports the batch creation of new products in Grocy

grocy-create-product This script supports the batch creation of new products in

André Heuer 6 Jul 28, 2022
MusicBot is the original Discord music bot written for Python 3.5+, using the discord.py library

The original MusicBot for Discord (formerly SexualRhinoceros/MusicBot)

Just Some Bots 2.9k Jan 02, 2023
Python functions to run WASS stereo wave processing executables, and load and post process WASS output files.

wass-pyfuns Python functions to run the WASS stereo wave processing executables, and load and post process the WASS output files. General WASS (Waves

Mika Malila 3 May 13, 2022
Faux is a chatbot bridge between urbit and discord.

Faux Faux is a chatbot bridge between urbit and discord. Whenever a member posts in your discord group, a bot will echo their message in your urbit gr

10 Dec 27, 2022
A anti-repostbot script for reddit, runs u/ThisIsARepostBotBot

ThisIsARepostBotBot So you found a repost bot, now what? This is a bot to reply to all posts of a repost bot with a message urging users to report and

3 May 23, 2022
A Python library for loading data from a SpaceX Starlink satellite.

Starlink Python A Python library for loading data from a SpaceX Starlink satellite. The goal is to be a simple interface for Starlink. It builds upon

Austin 2 Jan 16, 2022
It's a discord.py simulator.

DiscordPySimulator It's a discord.py simulator. ⚠️ Things to fix Context As you may know, discord py commands provide the context as the first paramet

Juan Sebastián 11 Oct 24, 2022
Reverse engineered connection to the TradingView ticker in Python

Tradingview-ticker Reverse engineered connection to the TradingView ticker in Python. Makes a websocket connection to the Tradeview website and receiv

Aaron 20 Dec 02, 2022
Network simulation tools

Overview I'm building my network simulation environments with Vagrant using libvirt plugin on a Ubuntu 20.04 system... and I always hated how boring i

Ivan Pepelnjak 219 Jan 07, 2023
Simple Telegram Bot To Get Feedback from users & Some Other Features

FeedbackBot Simple Telegram Bot To Get Feedback from users & Some Other Features. Features Get Feedback from users Reply to user's feedback Customisab

Arun 18 Dec 29, 2022