Skip to main content

No project description provided

Project description

Privam

privam is a Pypi package that provides a simple way to create and interact with a bot for the Privam service (https://privam.top/).

Installation

You can install privam using pip:

pip install privam

Usage

import privam

def hello_command(message):
    sender = message["sender"]
    print(message)
    bot.send(sender, "Hello, {}!".format(sender))

# Create a new PrivamBot instance with your token
bot = PrivamBot("your-token-here")

# Add the 'hello' command to the bot
bot.command("hello", hello_command)

# Start the bot
bot.socket.wait()

Contributing

Contributions are welcome! Please join vnti.top discord server if you have any suggestions or improvements.

License

This package is open source and available under the MIT License.

Remember to replace "your-token-here" with an actual token in the usage example.

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

privam-1.0.4.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file privam-1.0.4.tar.gz.

File metadata

  • Download URL: privam-1.0.4.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for privam-1.0.4.tar.gz
Algorithm Hash digest
SHA256 364f7cf8f6b3f0024a9228e2735d1c54a2465f2c7a3045d36c948a0e0b935c45
MD5 ec9c48f7087d4785134eaa76da2a98dd
BLAKE2b-256 e5dd402ef881fb85b69e861c5caf26f9accaad08e3492593af3ff82fd97a86bb

See more details on using hashes here.

Supported by

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