Skip to main content

A Python Discord API Wrapper based around customizability and expandability!

Project description

Tameris - Python Discord API wrapper!

Tameris is focused on customizability in your Discord bots as well as flexibility and expandability!

Examples

Creating a simple bot with Tameris

bot = Client(bot_token='token', command_prefix='+')

class HelloCommand(Command):
    async def run(self, context: Context, call_arguments):
        await bot.send_message(content=f'Hello! @{context.author.name}#{context.author.discriminator}', channel_id=context.channel.id)


async def ready():
    print('Logged in.')

async def on_message(message):
    await bot.process_commands(message)

bot.events.on_ready = ready
bot.events.on_message_create = on_message

bot.register_command(HelloCommand, 'hello')

bot.run()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tameris-0.1.1.tar.gz (14.5 kB view hashes)

Uploaded Source

Built Distribution

tameris-0.1.1-py3-none-any.whl (22.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page