Skip to content

Commit

Permalink
💩 can't take it anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivien Mouret committed Jul 16, 2024
1 parent 547e67b commit ea5e79d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions command/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,17 @@ module.exports = {
} else if (guidDot != undefined && guidDot.data != undefined) {
guid = guidDot.data.split(new RegExp(`(s\/[^.]*-p)`, 'giu'))[1];
console.log(`[${getCurrentDatetime('comm')}] GUID ${guid}`);
if (guid == undefined) return console.log(`[${getCurrentDatetime('comm')}] Error function help() GUID [${guid}]`);
guid = guid.split('s/')[1].split('-p')[0];
console.log(`[${getCurrentDatetime('comm')}] GUID ${guid}`);
if (guid == undefined) return console.log(`[${getCurrentDatetime('comm')}] Error function help() GUID [${guid}]`);

dot = guidDot.data.split(new RegExp(`(ge-[.]*...........)`, 'giu'))[1];
console.log(`[${getCurrentDatetime('comm')}] DOT ${dot}`);
if (dot == undefined) return console.log(`[${getCurrentDatetime('comm')}] Error function help() DOT [${dot}]`);
dot = dot.split('.')[1].split(' ')[0];
console.log(`[${getCurrentDatetime('comm')}] DOT ${dot}`);
if (dot == undefined) return console.log(`[${getCurrentDatetime('comm')}] Error function help() DOT [${dot}]`);
};

await message.channel
Expand Down
4 changes: 4 additions & 0 deletions core/mobbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,13 +375,17 @@ class MobBot {
} else if (gD != undefined) {
guid = gD.split(new RegExp(`(s\/[^.]*-p)`, 'giu'))[1];
console.log(`[${getCurrentDatetime('comm')}] GUID ${guid}`);
if (guid == undefined) return console.log(`[${getCurrentDatetime('comm')}] Error function help() GUID [${guid}]`);
guid = guid.split('s/')[1].split('-p')[0];
console.log(`[${getCurrentDatetime('comm')}] GUID ${guid}`);
if (guid == undefined) return console.log(`[${getCurrentDatetime('comm')}] Error function help() GUID [${guid}]`);

dot = gD.split(new RegExp(`(ge-[.]*...........)`, 'giu'))[1];
console.log(`[${getCurrentDatetime('comm')}] DOT ${dot}`);
if (dot == undefined) return console.log(`[${getCurrentDatetime('comm')}] Error function help() DOT [${dot}]`);
dot = dot.split('.')[1].split(' ')[0];
console.log(`[${getCurrentDatetime('comm')}] DOT ${dot}`);
if (dot == undefined) return console.log(`[${getCurrentDatetime('comm')}] Error function help() DOT [${dot}]`);
};

switch (toggleMedia) {
Expand Down

0 comments on commit ea5e79d

Please sign in to comment.