Discord Plugin

Started by Luckshya, Mar 05, 2019, 05:38 AM

Previous topic - Next topic

Luckshya

Im not sure about this, I've tested the linux plugin again and it seems to work fine on my system. Can you contact me on discord? (Luckshya#5109)

Mursaleen Qureshi

Please make the plugin for 32bit version, my vps has 32bit linux

umar4911

#17
JSON Parse Error: variable #0: "name" not found. Please look at call stack from your debugger for more details.
@Luckshya
I am gamer, programmer and hacker. Try to find me!
xD

dracc

Quote from: umar4911 on Mar 30, 2019, 05:18 PMJSON Parse Error: variable #0: "name" not found. Please look at call stack from your debugger for more details.
@Luckshya
Well, did you look at the call stack?

umar4911

Quote from: dracc on Mar 31, 2019, 06:21 AM
Quote from: umar4911 on Mar 30, 2019, 05:18 PMJSON Parse Error: variable #0: "name" not found. Please look at call stack from your debugger for more details.
@Luckshya
Well, did you look at the call stack?
How to see call stack :P
I am gamer, programmer and hacker. Try to find me!
xD

dracc

Quote from: umar4911 on Mar 31, 2019, 06:30 AM
Quote from: dracc on Mar 31, 2019, 06:21 AM
Quote from: umar4911 on Mar 30, 2019, 05:18 PMJSON Parse Error: variable #0: "name" not found. Please look at call stack from your debugger for more details.
@Luckshya
Well, did you look at the call stack?
How to see call stack :P
Depends on your servers operating system but in general it entails you running a debugger, opening the vcmp server through the debugger and when an error is encountered commanding the debugger to output a callstack/backtrace.

umar4911

Quote from: dracc on Mar 31, 2019, 06:41 AM
Quote from: umar4911 on Mar 31, 2019, 06:30 AM
Quote from: dracc on Mar 31, 2019, 06:21 AM
Quote from: umar4911 on Mar 30, 2019, 05:18 PMJSON Parse Error: variable #0: "name" not found. Please look at call stack from your debugger for more details.
@Luckshya
Well, did you look at the call stack?
How to see call stack :P
Depends on your servers operating system but in general it entails you running a debugger, opening the vcmp server through the debugger and when an error is encountered commanding the debugger to output a callstack/backtrace.
after coordination with Luckshya, we got to know the error.
I am gamer, programmer and hacker. Try to find me!
xD

Luckshya

Update v0.3.1
  • Updated sleepy discord library to fix JSON Parse error when an EmbedField is sent without name or value.

Download the latest Binaries from the repo release section!

umar4911

Quote from: Luckshya on Apr 08, 2019, 05:05 PMUpdate v0.3.1
  • Updated sleepy discord library to fix JSON Parse error when an EmbedField is sent without name or value.

Download the latest Binaries from the repo release section!
what does it really do? I mean does it skip that message or it parses that field
I am gamer, programmer and hacker. Try to find me!
xD

Luckshya

Quote from: umar4911 on Apr 08, 2019, 05:46 PMwhat does it really do? I mean does it skip that message or it parses that field

It does not skip and accepts the EmbedField without the name and value and then parse it.

umar4911

If any message has a Emoji in it, It sends empty line or \n to the server
I am gamer, programmer and hacker. Try to find me!
xD

Luckshya

#26
Major Update!
The plugin has been updated to fix some important bugs and crashes.
Fixed random crashes.
Fixed an issue that would cause other parts of the script to throw unknown errors.
All other fixes/changes can be seen through the repository commits.

Repository has been changed and the old one has been dropped out: https://github.com/Luckshya/sleepydiscord-squirrel
Some notable changes are: content parameter is added to MessageEmbed (https://github.com/Luckshya/sleepydiscord-squirrel/wiki/Session_MessageEmbed)

Latest release can be found here: https://github.com/Luckshya/sleepydiscord-squirrel/releases

The plugin now automatically queue the messages incase it hits the rate limit.
The messages are now sent asynchronously.

Luckshya

Update v0.4.1 changelog :-
  • Added invalid serverID check in GetRoleName function
  • Added EditChannel function

More about the new EditChannel here: https://github.com/Luckshya/sleepydiscord-squirrel/wiki/Session_EditChannel
Latest release: https://github.com/Luckshya/sleepydiscord-squirrel/releases

Luckshya

If anyone needs any other feature/function, let me know.

Luckshya

Update v0.4.2 changelog :-
  • Added onDiscord_Error, onDiscord_Disconnect, onDiscord_Quit events.
  • Added ErrorEventHandler option to toggle custom error logger.

More info about the new features added here: https://github.com/Luckshya/sleepydiscord-squirrel/wiki
Latest Release: https://github.com/Luckshya/sleepydiscord-squirrel/releases

Example code on wiki updated!