Git Product home page Git Product logo

discord-screenshot's Introduction

Hi there! ๐ŸŒŒ

I'm Jaime, I'm 18 years old and I love programming, math and physics.

๐Ÿ‘พ Technologies

C# Java JavaScript TypeScript React Vue

โ˜• Wanna chat?

Discord Youtube Twitch LinkedIn


Jaime's GitHub Stats Most Used Languages

discord-screenshot's People

Contributors

jaimeadf avatar redrumrp 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

discord-screenshot's Issues

Problem when trying to take screenshot

So I am trying to use it in the gcphone that I have but when I try to take a screenshot I get this error but the sending images with screenshot-basic works fine I am using a PHP file that sends the photos to a folder but I can't figure it out
image
this is the error this is the code
image
and this is when I am trying to trigger it with the command
image

[Improvement] Move Webhook Server sided

As is common practice on the internet, we should never trust a client.

In that respect, it would be more secure moving the webhookUrl out of the settings.json and into server.js

DeprecationWarning

(node:2052) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

screenshot-basic now uses POST headers.

Both the project-error version of screenshot-basic and CitizenFX are now using headers. Might want to update that. Or even just provide compatibility with project-error's fork of screenshot-basic

I've never done anything in typescript before but might have a go at doing a pull request. Deixa ver como corre...

Not really an issue

This isn't really an issue. Moreso a question. I was wondering if there was a way to use your API to have the screenshot displayed inside of the embed instead of outside of it. I know it's possible, but you need to put a placeholder name in the embed that the attached file has as its name.

I can maybe help you try to add this if needed.

Best Regards,
Badger (on FiveM forums)

No Such Export

image
I have been getting the following error after the most recent update. The resource is running and I can use the screenshot -1 command to trigger screenshots from all players so I'm not sure why the export has stopped working.

error

(node:3908) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use FXServer --trace-deprecation ... to show where the warning was created)

.

.

Screenshot Missing UI

When a screenshot is taken and send into discord, it looks like it has removed all the UI elements that are open on the user's screen.

My screenshot: image

Provided screenshot:
image

Changing message

Will it be possible to change the message format sended to discord ?
Actually it's showing all players indentifiers, but for exemple i would like to remove the display of the IP. Could it be possible ?

Screenshot question

Hi,

I love the screenshot but I've got a question. Is there any possibility that the screenshot's show the currently open menu in screen?

For example, if they have a shop menu open, in the current config it doesn't show that just the screen of the player with no menu information.

Thanks,

GAthlon

An error occurred: Timeout

Hey so my discord-screenshot just stop working randomly i have no clue why, im getting "An error occurred: Timeout" in the discord

Untitled

Deprecated code

As far as I know this doesn't cause any issues, just a warning about a deprecated function being used;

`(node:8628) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

(node:8628) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.`

I get this same warning twice when triggering screenshots.

Script Error: Attempt to call a string value (local 'callback')

Hi,

Whenever I make /screenshot or /screenshot 1 in-game, I get the following error message in both client and server console:

SCRIPT ERROR: [string "-- Proxy interface system, used to add/call f..."]:39: attempt to call a string value (local 'callback')
>  (@discord-screenshot/dist/server.js:13)
> k.call (@discord-screenshot/dist/server.js:13)

Using Dunko's vRP Version (1.0)

Screenshots me instead if player id i choose

Hey, this is an amzing script, i love it, just one issue, it screenshots the person why types /screenshot (1 or 2 or 3 or 4 or etc..) if anyone does /screenshot -1 it does everyone perfectly fine, any fix let me know thank you

DeprecationWarning

Happens the first time you take a screenshot.

(node:824) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use FXServer --trace-deprecation ... to show where the warning was created)

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.