Skip to main content

A Remaded Discord API Wrapper for Userbots/Selfbots written in Python.

Project description

Remaded Discum

Its not Official Discum Wrapper !

This Wrapper is a Discum Copy With Addons, original one is made by Merubokkusu

Authors

Installation

How to install Discum-Remaded

  python -m pip install --user --upgrade git+https://github.com/discummer/discum-remaded.git#egg=discum-remaded
  cd my-project

Prerequisites

  • requests
  • requests_toolbelt
  • brotli
  • websocket_client==0.59.0
  • filetype
  • ua-parser
  • colorama

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

Table of Contents + Links

Examples

import discumremaded   
bot = discumremaded.Client(token='bottoken', log=False)

bot.sendMessage("channelid", "Hello :)")

@bot.gateway.command
def helloworld(resp):
    if resp.event.ready_supplemental: #ready_supplemental is sent after ready
        user = bot.gateway.session.user
        print("Logged in as {}#{}".format(user['username'], user['discriminator']))
    if resp.event.message:
        m = resp.parsed.auto()
        guildID = m['guild_id'] if 'guild_id' in m else None #because DMs are technically channels too
        channelID = m['channel_id']
        username = m['author']['username']
        discriminator = m['author']['discriminator']
        content = m['content']
        print("> guild {} channel {} | {}#{}: {}".format(guildID, channelID, username, discriminator, content))

bot.gateway.run(auto_reconnect=True)

Checklist

  • Make Github Repo
  • Make More Functions
  • Publish Github Repo
  • Upload To PyPi
  • Everything

Support

For support, email bambikuuu@gmail.com or join our Discord Server.

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

discumremaded-0.25.tar.gz (66.4 kB view details)

Uploaded Source

File details

Details for the file discumremaded-0.25.tar.gz.

File metadata

  • Download URL: discumremaded-0.25.tar.gz
  • Upload date:
  • Size: 66.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0

File hashes

Hashes for discumremaded-0.25.tar.gz
Algorithm Hash digest
SHA256 a1bfe3e1de1db3fcc93c24d8a3ebbcdf37719ae7d61261da0847caf1222eafce
MD5 f33b9eda115c87b857d278230d480693
BLAKE2b-256 91139414a1f07ff19e4318511238ba171afb46887287bfb02ab942ffd082383b

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