Skip to content

1lgrand/Aoipy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AoiPy - Discord.py made simple

Latest Update: 12/13/22

PyPI PyPI - Downloads Downloads PyPI - License

AoiPY

Using AoiPy

1 - pip install AoiPy

2 - Import Client and any other files

from aoipy.Client import client
from aoipy.File import * 

3 - Example:

from aoipy.Client import *
from aoipy.Messages import *
import discord
# ---------------Imports--------------------
act = client.activity("tv", "watching")
bot = client.Bot(prefix="!", case_insensitive=False, intents=("all",), activity=act)
events = client.Events()

@events.onReady
def startup():
    print(f"{botUsername()} is ready!")


@bot.command()
async def ping(ctx):
    await sendChannelMessage(ctx, "Pong!")


bot.run("*******<<TOKEN>>***********")

Bare Minimum bot

from aoipy.Client import *
bot = client.Bot(prefix="!", intents=("all",))
events = client.Events()

@events.onReady
def startup():
    print(f"{botUsername()} is ready!")

New and still a work in progress

Releases

No releases published

Packages

No packages published

Languages