Skip to main content

Discord API Wrapper

Project description

CREDIT:

Created by: s0rdeal

CONTACT:

Discord: bagneux / s0rdeal

Twitter: s0rdeal

GitHub: s0rdeal

Telegram : @s0rdeal

Discord Server : https://discord.gg/ulq

DISCLAIMER:

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

DSWR BY s0rdeal

USAGE:

import dxcord # 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


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dswr-0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

dswr-0.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file dswr-0.1.tar.gz.

File metadata

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

File hashes

Hashes for dswr-0.1.tar.gz
Algorithm Hash digest
SHA256 51c3924f4269e849cb64c39d9ce29e5b28e052ae2ae8b04e78fdec3b865f3021
MD5 7f341cff0a30628776128c36d0d0e678
BLAKE2b-256 18dc635bc27afad5294e6e25b7bfc697f0618a43e47731632fb38b169e57ac9b

See more details on using hashes here.

File details

Details for the file dswr-0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for dswr-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f168a2327a348715e291f2b8c3cbbe476eb5dfa516b37c662712441aff621f8e
MD5 220caf03d03df023eb1a3981c83aaab3
BLAKE2b-256 0a36daec8f7d199b38a143382d5ccc76f5000325bd3fd0f36f12a179df5fa568

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