Giter Club home page Giter Club logo

snowtransfer's Introduction

I'm an IT Consultant from Germany, currently working as a freelancer.
Welcome to my GitHub Profile ๐Ÿ‘‹

Currently looking to expand my company, if you are looking for a comfortable side job, feel free to contact me either via discord (Wolke#0001) or via email.

If your project or team needs a versatile allrounder that is fit in backend, infrastructure and CI/CD, feel free to contact me here: Request

GitHub Statistics

github stats github stats

snowtransfer's People

Contributors

anothergenz avatar awoocado avatar cloudrac3r avatar daswolke avatar dependabot[bot] avatar hegyok avatar mrjvs avatar papiophidian avatar zoddo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

snowtransfer's Issues

API Types Library

I wanted to ask if there was any reason this library is using a custom typings library from https://github.com/AmandaDiscord/DiscordTypings rather than something more widely used and updated such as https://github.com/discordjs/discord-api-types.

I'm having trouble implementing certain functionalities because I'm getting type errors between the two and I can't cast some of the objects (easily....) because it seems the typings this library uses are outdated.

An example is ApplicationCommandBase from DiscordTypings appears to be older. According to the docs, there should be a required id, version, and among other things that the ApplicationCommandBase does not seem to include but APIApplicationCommand from the more widely-used library has the type that is identical to the discord API docs.

I like the way this library acts as a lightweight rest client, I'm just wondering if this is something intended, if I am missing something, or I should use something else/fork and adjust.

having issue with client.user.createDirectMessageChannel

Hi, I tried using SnowTransfer so the ratelimits of one of my feature could work properly.

I am using user.createDirectMessageChannel in a "massive way", this means I am requesting for the endpoint many times at the same millisecond.

I tried multiple times but when there is many at the same milliseconds the createDirectMessageChannel method is not working at all and no issue is thrown, the promises are pending forever.

Could someone look at the issue? Tyvm

getGuildMembers always returns 1 member regardless of limit

const client = new SnowTransfer(process.env.TOKEN)
const members = await client.guild.getGuildMembers(guildId, { limit: 10 })

members will always be an array with only 1 GuildMember regardless of what the limit is set to.

I made the request myself using fetch:

const headers = new Headers()
headers.set('Authorization', 'Bot ' + process.env.TOKEN!)
const response = await fetch(
  `https://discord.com/api/v10/guilds/${guildId}/members?limit=10`,
  { headers }
)
const members = await response.json()

Here members is an array with 10 GuildMembers.

I have made sure that process.env.TOKEN and guildId are correct, and the bot has the GUILD_MEMBERS intent enabled.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.