mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-30 13:47:54 +00:00
Fix format string for joinchat struct
This commit is contained in:
parent
a11e35d3a7
commit
c1edb7bc27
@ -91,7 +91,7 @@ const isPublic = async (username: string) => {
|
||||
const inviteLinkToGroupID = (url: URL) => {
|
||||
if (url.pathname.toLowerCase().startsWith("/joinchat/")) {
|
||||
const [, groupID] = jspack.Unpack(
|
||||
">LLC",
|
||||
">LLQ",
|
||||
Buffer.from(url.pathname.split("/")[2], "base64")
|
||||
);
|
||||
return groupID;
|
||||
|
Loading…
x
Reference in New Issue
Block a user