Skip to main content

Discord API wrapper

Project description

discord.gg/opening | dataopen

DISCLAIMER:

Some features can rate limit your account, use this at your own risk.

import openwrapper # Import the module
       
client = dxcord.Client(token='your_token_here') # Initialize the client with your token
      
client.GetCountry() # Get the country of the user

client.GetDms() # Get the direct messages of the user

client.GetGuilds() # Get the guilds of the user

client.GetFriends() # Get the friends of the user

client.TokenLookup() # Lookup the token of the user

client.SendMessage(ChannelId=id,Message='message') # Send a message to a channel

client.RemoveFriend(UserId=id) # Remove a friend

client.SetLanguage(CountryCode='en-GB') # Set the language of the user ('da','de','en-GB','en-US','es-ES','fr','hr','it','lt','hu','nl','no','pl','pt-BR','ro','fi','sv-SE','vi','tr','cs','el','bg','ru','uk','th','zh-CN','ja','ko')

client.SetHypesquad(house=id) # Set the hypesquad of the user (1 = Bravery, 2 = Brillance, 3 = Balance)

client.BlockUser(UserId=id) # Block a user

client.UnblockUser(UserId=id) # Unblock a user

client.GetMessage(ChannelId=id) # Get all messages of a channel

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

openwrapper-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openwrapper-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file openwrapper-0.1.0.tar.gz.

File metadata

  • Download URL: openwrapper-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for openwrapper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 87de9b9a669a34a6043ee4eb49a97411d4e3e60eaa5c0bf9a704ffe0ec2b44a2
MD5 9d4bfbfa65e6d6d5f451f49eac24fd3d
BLAKE2b-256 2ff3da24ae5a81c00a192cd4606790ca8d1ede730ed4856edda1a6a3c10095ab

See more details on using hashes here.

File details

Details for the file openwrapper-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: openwrapper-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for openwrapper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab52897454b2dda5d1b1272ddfe61d4acd3370bba492832b28154d0bd3be3912
MD5 51474fce5f31c8709c82efd769a40617
BLAKE2b-256 e5d4de193818b984774cefe0f4c94afc469b0013f0703de926bd1bcf8f00f25b

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