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
Release history Release notifications | RSS feed
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 details)
Built Distribution
tameris-0.1.1-py3-none-any.whl
(22.8 kB
view details)
File details
Details for the file tameris-0.1.1.tar.gz
.
File metadata
- Download URL: tameris-0.1.1.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a01317c6f6aabb6ac29ca97f7a1587d6253c34ce3c5dc51497852187af99b8a |
|
MD5 | 85acc1ce80c1793f886c4d604ca12073 |
|
BLAKE2b-256 | d818b7e8ecbd5e4c4e6913a38016a2017f94489097e3d2747197b62e828c503b |
File details
Details for the file tameris-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: tameris-0.1.1-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b37ab5672b13018fc592df98758e691ec8652eb6a97891fc4b39e6dc0d946ae5 |
|
MD5 | 04e87a9741432e6264e4ef02b43baf57 |
|
BLAKE2b-256 | 56ffb16aaf3fe9110f0d5d7b51a1c54e5434ae7021cb47850e24ddac8248d1e6 |