Vice City: Multiplayer

Community Projects => SLC's Squirrel Plugin => Topic started by: Luckshya on Mar 03, 2019, 03:09 PM

Title: [MODULE] Discord module for SqMod
Post by: Luckshya on Mar 03, 2019, 03:09 PM
Introduction
Discord module for SqMod using sleepy-discord library.

This plugin is a multi-bot plugin.

Documentation
Wiki: https://github.com/Luckshya/sleepydiscord-sqmod/wiki/
Example code: Available on wiki

Source
Sleepy-Discord: https://github.com/yourWaifu/sleepy-discord
Plugin Source: https://github.com/Luckshya/sleepydiscord-sqmod

Installation/Requirements

Windows
Install OpenSSL from here: https://slproweb.com/products/Win32OpenSSL.html
Don't change any options while installing openssl.

Binaries: https://github.com/Luckshya/sleepydiscord-sqmod/releases

Linux
apt-get install libssl-dev
Binaries: https://github.com/Luckshya/sleepydiscord-sqmod/releases
(32 bit not available for now)

The most important thing:
Credits

NOTE: You need to take care of the Discord rate limit yourself.
Title: Re: [MODULE] Discord module for SqMod
Post by: DizzasTeR on Mar 03, 2019, 04:04 PM
There has been alot of effort put into this, one way or the other, great job!
Title: Re: [MODULE] Discord module for SqMod
Post by: Luckshya on Mar 04, 2019, 07:13 AM
Sleepy-Discord Binaries are available now!
Title: Re: [MODULE] Discord module for SqMod
Post by: Luckshya on Mar 05, 2019, 11:36 AM
Added function Regex_Match to check for special character/symbols for discord. More details in the main post.
Title: Re: [MODULE] Discord module for SqMod
Post by: Luckshya on Mar 05, 2019, 02:51 PM
Fixed issue that crashes the server while closing. Make sure you update the binaries from the latest release on the repo.
Title: Re: [MODULE] Discord module for SqMod
Post by: Luckshya on Mar 06, 2019, 08:53 AM
A new update 0.2 has been released that brings the following changes.

Make sure you update the binaries from the latest release on the repo.
Title: Re: [MODULE] Discord module for SqMod
Post by: Luckshya on Mar 07, 2019, 04:24 PM
Update v0.2.1 changelog.

Example scripts have been updated.
Make sure you get the latest binaries from the latest release on the repo.
Title: Re: [MODULE] Discord module for SqMod
Post by: Luckshya on Mar 09, 2019, 11:40 AM
Update v0.2.2 changelog.

NOTE: libdiscord users should not send empty messages or the message like "" or "\n" or "msg\n" or the server will crash. Support for it may be released in the next version.
Valid message can be: "\nmessage", "msg1\nmsg2"
Title: Re: [MODULE] Discord module for SqMod
Post by: Luckshya on May 12, 2020, 08:16 AM
Update v0.4

A lot of bug fixes and features have been added which can be seen on wiki or the repository itself.

New project repository: https://github.com/Luckshya/sleepydiscord-sqmod
Wiki: https://github.com/Luckshya/sleepydiscord-sqmod/wiki
Releases: https://github.com/Luckshya/sleepydiscord-sqmod/releases
Title: Re: [MODULE] Discord module for SqMod
Post by: Luckshya on May 15, 2020, 04:21 PM
Update v0.4.1 changelog :-

More about the new EditChannel here: https://github.com/Luckshya/sleepydiscord-sqmod/wiki/Session_EditChannel
Latest release: https://github.com/Luckshya/sleepydiscord-sqmod/releases
Title: Re: [MODULE] Discord module for SqMod
Post by: Luckshya on May 23, 2020, 04:17 PM
Update v0.4.2 changelog :-

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

Example code on wiki updated!
Title: Re: [MODULE] Discord module for SqMod
Post by: Luckshya on Jun 04, 2020, 06:45 AM
Update v0.4.3 changelog :-

Wiki has been restructured and newly added features have been added it. Make sure to see the wiki before using them.
Added example code for both internal cache enabled and disabled on wiki.

Wiki: https://github.com/Luckshya/sleepydiscord-sqmod/wiki
Release: https://github.com/Luckshya/sleepydiscord-sqmod/releases/

I recommend to keep the internal cache disabled and manage cache yourself. I have also provided an example script on wiki to cache data.