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 multi purpose discord bot for python

Sypher The best multi purpose discord bot. Add Sypher right now Invite Me | Join

Johan Naizu 1 Dec 15, 2022
E-Commerce Telegram Bot for UCA Students

ucaStudentStore To buy from and sell to other students Features Register the first time, after that you will always be recognised You can login either

Shukur Sabzaliev 5 Jun 26, 2022
This repository will (hopefully) always contain the latest version of the libProfessorP.asm.so shared object.

libPuhfessorP - Deploy Repo This repo should (hopefully) always contain the latest version of the libPuhfessorP.asm.so shared object, to be linked wit

Puhfessor P - CPSC 240 3 Sep 30, 2021
A discord http interactions framework built on top of Sanic

snowfin An async discord http interactions framework built on top of Sanic Installing for now just install the package through pip via github # Unix b

kaj 13 Dec 15, 2022
Create custom Vanity URLs for Discord without 30 boosts

CustomVanity - Made by udp#6666 aka Apolo - OpenSource Custom Discord Vanity Creator How To Use Open CustomVanity.py Write your server invite code Wri

apolo 17 Aug 23, 2022
Prisma Cloud utility scripts, and a Python SDK for Prisma Cloud APIs.

pcs-toolbox Prisma Cloud utility scripts, and a Python SDK for Prisma Cloud APIs. Table of Contents Support Setup Configuration Script Usage CSPM Scri

Palo Alto Networks 34 Dec 15, 2022
ServiceX DID Finder Girder

ServiceX_DID_Finder_Girder Access datasets for ServiceX from yt Hub Finding datasets This DID finder is designed to take a collection id (https://gird

1 Dec 07, 2021
🖥️ Windows Batch and powershell Discord Token grabber. Made for Troll (lmao)

Batched-Grabber Windows Batch and powershell Discord Token grabber. Made for Troll ! Setup. 1. pip(3) install numpy colored 2. python(3) Batched.py 3.

Ѵιcнч 41 Nov 01, 2022
Widevine MPD Content Downloader & Decryptor

Widevine-DL Encrypted MPD Manifest Content Downloader + Decryptor (not a Widevine Key Extractor!) Requirements ffmpeg, yt-dlp, aria2, widevine-l3-decr

Vank0n (SJJeon) 170 Dec 30, 2022
This is a discord token generator(requests) which works and makes 200 tokens per minute

Discord Email verified token generator Creates email verified discord accounts (unlocked) Report Bug · Discord server Features Profile pictures and na

131 Dec 10, 2022
A simple waybar module to display the status of the ICE you are currently in using the ICE Portals JSON API.

waybar-iceportal A simple waybar module to display the status of the ICE you are currently in using the ICE Portals JSON API. Installation Ensure pyth

Moritz 7 Aug 26, 2022
A simple telegram bot that takes a list of files sent by the user and returns them 7zipped

A simple telegram bot that takes a list of files sent by the user and returns them 7zipped

1 Oct 28, 2022
A Python interface to AFL, allowing for easy injection of testcases and other functionality.

Fuzzer This module provides a Python wrapper for interacting with AFL (American Fuzzy Lop: http://lcamtuf.coredump.cx/afl/). It supports starting an A

Shellphish 614 Dec 26, 2022
Telegram Bot for everyday raffles

SpinEverydayBot v2 Telegram bot for everyday raffles. HIGHLY EXPERIMENTAL! WORK IN PROGRESS! Setting up Requirements Python 3.9+ PostgreSQL 13+ Older

evgfilim1 18 Dec 20, 2022
A python wrapper for the mangadex API V5. Work in progress

mangadex A python wrapper for the mangadex API V5. It uses the requests library and all the aditional arguments can be viewed in the Official Mangadex

Eduardo Ceja 27 Dec 14, 2022
Andrei 1.4k Dec 24, 2022
A Telegram Userbot to play Audio and Video songs / files in Telegram Voice Chats.

VC UserBot A Telegram Userbot to play Audio and Video songs / files in Telegram Voice Chats. It's made with PyTgCalls and Pyrogram Requirements Python

조던 1 Nov 29, 2021
Бот Telegram для Школы в Капотне (ЦО № 1858)

co1858 Telegram Bot Активно разрабатывался в 2015-2016 году как учебный проект, с целью научиться создавать ботов для Telegram. Бот автоматически парс

Ilya Pavlov 4 Aug 30, 2022
An Open Source ALL-In-One Telegram RoBot, that can do lot of things.

URL Uploader Bot An Open Source ALL-In-One Telegram RoBot, that can do lot of things. My Features Installation The Easy Way You can also tap the Deplo

NT BOTS 1 Oct 23, 2021
A simple Python script using Telethon to log all (or some) messages a user or bot account can see on Telegram.

telegram-logger A simple Python script using Telethon to log all (or some) messages a user or bot account can see on Telegram. Requirements Python 3.6

Richard 13 Oct 06, 2022