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 discum-remaded   
bot = discum-remaded.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.23.tar.gz (67.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page