Latest Update: 12/13/22
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!")