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

Uploaded Source

File details

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

File metadata

  • Download URL: privam-1.0.1.tar.gz
  • Upload date:
  • Size: 1.8 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.1.tar.gz
Algorithm Hash digest
SHA256 1c761981ce83103b65972ec3bbdd2093e0e57104be6e199c77781a790a932b30
MD5 ce5de07af86068ef22a389a575db7ade
BLAKE2b-256 79cf1b5819f9487196b08521590375e7f9d3aecb624e11940413c5e63a7294b8

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