Skip to content

IntentAi/intent.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intent.py

Python bot SDK for Intent. Mirrors discord.py patterns for easy bot migration.

Phase 1 development — gateway, REST client, models, and state cache implemented. Client class coming next.

Why

Communities won't migrate without their bots. intent.py makes porting straightforward:

# discord.py
import discord
client = discord.Client()

# intent.py
import intent
client = intent.Client()

Same class structure, same decorators, same async patterns.

Quick Start

import intent

client = intent.Client()

@client.event
async def on_ready():
    print(f'Logged in as {client.user.name}')

@client.event
async def on_message(message):
    if message.content == '!ping':
        await message.channel.send('Pong!')

client.run('your-bot-token')

Install

pip install intent.py  # coming soon

For development:

git clone https://github.com/IntentAi/intent.py
cd intent.py
pip install -e ".[dev]"

Contributing

See CONTRIBUTING.md

License

MIT

About

Python bot SDK for Intent

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages