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.2.tar.gz (1.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: privam-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c60ec9c34924ea08be56e09643a0c6d69b066aa4b0813e30b15a8b066a6ce72e
MD5 e086f768c6a43525ef1d1c662cca0b01
BLAKE2b-256 2ada5c21ee4e3f0b21eb78b1dd0b1676589ce62c5c445da5945c87837718b330

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