Skip to content

Commit

Permalink
added roleplay instant commands
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLYNN committed Jan 7, 2024
1 parent 5adc243 commit 856669d
Show file tree
Hide file tree
Showing 54 changed files with 1,999 additions and 0 deletions.
37 changes: 37 additions & 0 deletions SRC/commands/roleplay/negative/bite.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
name: "bite",
aliases: ["rp-bite"],
module: "Roleplay",
version: "1.0",
sourcecode: "https://github.com/LynnuxDev/Akira/blob/main/SRC/commands/Roleplay/wholesome/bite.js",
documentation: "https://documentation.lynnux.xyz/akira/roleplay",
type: "messageCreate",
description: "bite someone.",
usage: "bite <user> {message}",
example: "bite @dark_lynn\n{prefix}bite @dark_lynn got bitten.",
code: `
$onlyIf[$message!=;Wrong usage of this command use \`bite <user> {message}\`]
$onlyIf[$checkContains[$message[0];<@&]!=true;You can't use this on a role.]
$let[user;$if[$message[0]==;$authorID;$findUser[$message[0];true]]]
$let[message;$replace[$replace[$message;$message[0] ;];$message[0];]]
$let[user1;**$username[$get[user]]**] $let[user2;**$username[$authorID]**]
$onlyIf[$get[user]!=$authorID;You cant do this to yourself.]
$onlyIf[$getVar[rp-blocked-$authorID;$get[user]]!=true;Your Blocked by this user]
$setVar[bite-give;$authorID;$sum[$getVar[bite-give;$authorID];1]]
$setVar[bite-got;$get[user];$sum[$getVar[bite-got;$get[user]];1]]
$let[msg;$get[user1] got bitten by $get[user2].]
$description[$get[msg]$if[$get[message]!=;\n"$get[message]"]]
$color[$getVar[color;default]]
$let[type2;got bitten]
$!httpRequest[https://api.lynnux.xyz/roleplay/bite.json;get]
$let[url;$httpResult[embed;image;url]]
$image[$get[url]]
$footer[$username used bite $if[$getVar[bite-give;$authorID]==1;1 time;$getVar[bite-give;$authorID] times]. | $replace[$get[user1];**;;-1] $get[type2] $if[$getVar[bite-got;$get[user]]==1;1 time;$getVar[bite-got;$get[user]] times]]
`}
37 changes: 37 additions & 0 deletions SRC/commands/roleplay/negative/cry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
name: "cry",
aliases: ["rp-cry"],
module: "Roleplay",
version: "1.0",
sourcecode: "https://github.com/LynnuxDev/Akira/blob/main/SRC/commands/Roleplay/wholesome/cry.js",
documentation: "https://documentation.lynnux.xyz/akira/roleplay",
type: "messageCreate",
description: "cry someone.",
usage: "cry <user> {message}",
example: "cry @dark_lynn\n{prefix}cry @dark_lynn got bitten.",
code: `
$onlyIf[$message!=;Wrong usage of this command use \`cry <user> {message}\`]
$onlyIf[$checkContains[$message[0];<@&]!=true;You can't use this on a role.]
$let[user;$if[$message[0]==;$authorID;$findUser[$message[0];true]]]
$let[message;$replace[$replace[$message;$message[0] ;];$message[0];]]
$let[user1;**$username[$get[user]]**] $let[user2;**$username[$authorID]**]
$onlyIf[$get[user]!=$authorID;You cant do this to yourself.]
$onlyIf[$getVar[rp-blocked-$authorID;$get[user]]!=true;Your Blocked by this user]
$setVar[cry-give;$authorID;$sum[$getVar[cry-give;$authorID];1]]
$setVar[cry-got;$get[user];$sum[$getVar[cry-got;$get[user]];1]]
$let[msg;$get[user1] made $get[user2] cry.]
$description[$get[msg]$if[$get[message]!=;\n"$get[message]"]]
$color[$getVar[color;default]]
$let[type2;made people cry]
$!httpRequest[https://api.lynnux.xyz/roleplay/cry.json;get]
$let[url;$httpResult[embed;image;url]]
$image[$get[url]]
$footer[$username used cry $if[$getVar[cry-give;$authorID]==1;1 time;$getVar[cry-give;$authorID] times]. | $replace[$get[user1];**;;-1] $get[type2] $if[$getVar[cry-got;$get[user]]==1;1 time;$getVar[cry-got;$get[user]] times]]
`}
37 changes: 37 additions & 0 deletions SRC/commands/roleplay/negative/die.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
name: "die",
aliases: ["rp-die"],
module: "Roleplay",
version: "1.0",
sourcecode: "https://github.com/LynnuxDev/Akira/blob/main/SRC/commands/Roleplay/wholesome/die.js",
documentation: "https://documentation.lynnux.xyz/akira/roleplay",
type: "messageCreate",
description: "die someone.",
usage: "die <user> {message}",
example: "die @dark_lynn\n{prefix}die @dark_lynn you died.",
code: `
$onlyIf[$message!=;Wrong usage of this command use \`die <user> {message}\`]
$onlyIf[$checkContains[$message[0];<@&]!=true;You can't use this on a role.]
$let[user;$if[$message[0]==;$authorID;$findUser[$message[0];true]]]
$let[message;$replace[$replace[$message;$message[0] ;];$message[0];]]
$let[user1;**$username[$get[user]]**] $let[user2;**$username[$authorID]**]
$onlyIf[$get[user]!=$authorID;You cant do this to yourself.]
$onlyIf[$getVar[rp-blocked-$authorID;$get[user]]!=true;Your Blocked by this user]
$setVar[die-give;$authorID;$sum[$getVar[die-give;$authorID];1]]
$setVar[die-got;$get[user];$sum[$getVar[die-got;$get[user]];1]]
$let[msg;$get[user1] made $get[user2] die.]
$description[$get[msg]$if[$get[message]!=;\n"$get[message]"]]
$color[$getVar[color;default]]
$let[type2;made people die]
$!httpRequest[https://api.lynnux.xyz/roleplay/die.json;get]
$let[url;$httpResult[embed;image;url]]
$image[$get[url]]
$footer[$username used die $if[$getVar[die-give;$authorID]==1;1 time;$getVar[die-give;$authorID] times]. | $replace[$get[user1];**;;-1] $get[type2] $if[$getVar[die-got;$get[user]]==1;1 time;$getVar[die-got;$get[user]] times]]
`}
37 changes: 37 additions & 0 deletions SRC/commands/roleplay/negative/hate.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
name: "hate",
aliases: ["rp-hate"],
module: "Roleplay",
version: "1.0",
sourcecode: "https://github.com/LynnuxDev/Akira/blob/main/SRC/commands/Roleplay/wholesome/hate.js",
documentation: "https://documentation.lynnux.xyz/akira/roleplay",
type: "messageCreate",
description: "hate someone.",
usage: "hate <user> {message}",
example: "hate @dark_lynn\n{prefix}hate @dark_lynn got haten.",
code: `
$onlyIf[$message!=;Wrong usage of this command use \`hate <user> {message}\`]
$onlyIf[$checkContains[$message[0];<@&]!=true;You can't use this on a role.]
$let[user;$if[$message[0]==;$authorID;$findUser[$message[0];true]]]
$let[message;$replace[$replace[$message;$message[0] ;];$message[0];]]
$let[user1;**$username[$get[user]]**] $let[user2;**$username[$authorID]**]
$onlyIf[$get[user]!=$authorID;You cant do this to yourself.]
$onlyIf[$getVar[rp-blocked-$authorID;$get[user]]!=true;Your Blocked by this user]
$setVar[hate-give;$authorID;$sum[$getVar[hate-give;$authorID];1]]
$setVar[hate-got;$get[user];$sum[$getVar[hate-got;$get[user]];1]]
$let[msg;$get[user2] hates $get[user1].]
$description[$get[msg]$if[$get[message]!=;\n"$get[message]"]]
$color[$getVar[color;default]]
$let[type2;made people hate them]
$!httpRequest[https://api.lynnux.xyz/roleplay/hate.json;get]
$let[url;$httpResult[embed;image;url]]
$image[$get[url]]
$footer[$username used hate $if[$getVar[hate-give;$authorID]==1;1 time;$getVar[hate-give;$authorID] times]. | $replace[$get[user1];**;;-1] $get[type2] $if[$getVar[hate-got;$get[user]]==1;1 time;$getVar[hate-got;$get[user]] times]]
`}
37 changes: 37 additions & 0 deletions SRC/commands/roleplay/negative/kill.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
name: "kill",
aliases: ["rp-kill"],
module: "Roleplay",
version: "1.0",
sourcecode: "https://github.com/LynnuxDev/Akira/blob/main/SRC/commands/Roleplay/wholesome/kill.js",
documentation: "https://documentation.lynnux.xyz/akira/roleplay",
type: "messageCreate",
description: "kill someone.",
usage: "kill <user> {message}",
example: "kill @dark_lynn\n{prefix}kill @dark_lynn killed by me.",
code: `
$onlyIf[$message!=;Wrong usage of this command use \`kill <user> {message}\`]
$onlyIf[$checkContains[$message[0];<@&]!=true;You can't use this on a role.]
$let[user;$if[$message[0]==;$authorID;$findUser[$message[0];true]]]
$let[message;$replace[$replace[$message;$message[0] ;];$message[0];]]
$let[user1;**$username[$get[user]]**] $let[user2;**$username[$authorID]**]
$onlyIf[$get[user]!=$authorID;You cant do this to yourself.]
$onlyIf[$getVar[rp-blocked-$authorID;$get[user]]!=true;Your Blocked by this user]
$setVar[kill-give;$authorID;$sum[$getVar[kill-give;$authorID];1]]
$setVar[kill-got;$get[user];$sum[$getVar[kill-got;$get[user]];1]]
$let[msg;$get[user2] killed $get[user1].]
$description[$get[msg]$if[$get[message]!=;\n"$get[message]"]]
$color[$getVar[color;default]]
$let[type2;got killed]
$!httpRequest[https://api.lynnux.xyz/roleplay/kill.json;get]
$let[url;$httpResult[embed;image;url]]
$image[$get[url]]
$footer[$username used kill $if[$getVar[kill-give;$authorID]==1;1 time;$getVar[kill-give;$authorID] times]. | $replace[$get[user1];**;;-1] $get[type2] $if[$getVar[kill-got;$get[user]]==1;1 time;$getVar[kill-got;$get[user]] times]]
`}
37 changes: 37 additions & 0 deletions SRC/commands/roleplay/negative/sad.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
name: "sad",
aliases: ["rp-sad"],
module: "Roleplay",
version: "1.0",
sourcecode: "https://github.com/LynnuxDev/Akira/blob/main/SRC/commands/Roleplay/wholesome/sad.js",
documentation: "https://documentation.lynnux.xyz/akira/roleplay",
type: "messageCreate",
description: "sad someone.",
usage: "sad <user> {message}",
example: "sad @dark_lynn\n{prefix}sad @dark_lynn sadboi sadboi.",
code: `
$onlyIf[$message!=;Wrong usage of this command use \`sad <user> {message}\`]
$onlyIf[$checkContains[$message[0];<@&]!=true;You can't use this on a role.]
$let[user;$if[$message[0]==;$authorID;$findUser[$message[0];true]]]
$let[message;$replace[$replace[$message;$message[0] ;];$message[0];]]
$let[user1;**$username[$get[user]]**] $let[user2;**$username[$authorID]**]
$onlyIf[$get[user]!=$authorID;You cant do this to yourself.]
$onlyIf[$getVar[rp-blocked-$authorID;$get[user]]!=true;Your Blocked by this user]
$setVar[sad-give;$authorID;$sum[$getVar[sad-give;$authorID];1]]
$setVar[sad-got;$get[user];$sum[$getVar[sad-got;$get[user]];1]]
$let[msg;$get[user1] made $get[user2] sad.]
$description[$get[msg]$if[$get[message]!=;\n"$get[message]"]]
$color[$getVar[color;default]]
$let[type2;made people sad]
$!httpRequest[https://api.lynnux.xyz/roleplay/sad.json;get]
$let[url;$httpResult[embed;image;url]]
$image[$get[url]]
$footer[$username used sad $if[$getVar[sad-give;$authorID]==1;1 time;$getVar[sad-give;$authorID] times]. | $replace[$get[user1];**;;-1] $get[type2] $if[$getVar[sad-got;$get[user]]==1;1 time;$getVar[sad-got;$get[user]] times]]
`}
37 changes: 37 additions & 0 deletions SRC/commands/roleplay/negative/shoot.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
name: "shoot",
aliases: ["rp-shoot"],
module: "Roleplay",
version: "1.0",
sourcecode: "https://github.com/LynnuxDev/Akira/blob/main/SRC/commands/Roleplay/wholesome/shoot.js",
documentation: "https://documentation.lynnux.xyz/akira/roleplay",
type: "messageCreate",
description: "shoot someone.",
usage: "shoot <user> {message}",
example: "shoot @dark_lynn\n{prefix}shoot @dark_lynn shooted by me.",
code: `
$onlyIf[$message!=;Wrong usage of this command use \`shoot <user> {message}\`]
$onlyIf[$checkContains[$message[0];<@&]!=true;You can't use this on a role.]
$let[user;$if[$message[0]==;$authorID;$findUser[$message[0];true]]]
$let[message;$replace[$replace[$message;$message[0] ;];$message[0];]]
$let[user1;**$username[$get[user]]**] $let[user2;**$username[$authorID]**]
$onlyIf[$get[user]!=$authorID;You cant do this to yourself.]
$onlyIf[$getVar[rp-blocked-$authorID;$get[user]]!=true;Your Blocked by this user]
$setVar[shoot-give;$authorID;$sum[$getVar[shoot-give;$authorID];1]]
$setVar[shoot-got;$get[user];$sum[$getVar[shoot-got;$get[user]];1]]
$let[msg;$get[user1] got shot by $get[user2].]
$description[$get[msg]$if[$get[message]!=;\n"$get[message]"]]
$color[$getVar[color;default]]
$let[type2;got shot]
$!httpRequest[https://api.lynnux.xyz/roleplay/shoot.json;get]
$let[url;$httpResult[embed;image;url]]
$image[$get[url]]
$footer[$username used shoot $if[$getVar[shoot-give;$authorID]==1;1 time;$getVar[shoot-give;$authorID] times]. | $replace[$get[user1];**;;-1] $get[type2] $if[$getVar[shoot-got;$get[user]]==1;1 time;$getVar[shoot-got;$get[user]] times]]
`}
37 changes: 37 additions & 0 deletions SRC/commands/roleplay/negative/slap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
name: "slap",
aliases: ["rp-slap"],
module: "Roleplay",
version: "1.0",
sourcecode: "https://github.com/LynnuxDev/Akira/blob/main/SRC/commands/Roleplay/wholesome/slap.js",
documentation: "https://documentation.lynnux.xyz/akira/roleplay",
type: "messageCreate",
description: "slap someone.",
usage: "slap <user> {message}",
example: "slap @dark_lynn\n{prefix}slap @dark_lynn slaped by me.",
code: `
$onlyIf[$message!=;Wrong usage of this command use \`slap <user> {message}\`]
$onlyIf[$checkContains[$message[0];<@&]!=true;You can't use this on a role.]
$let[user;$if[$message[0]==;$authorID;$findUser[$message[0];true]]]
$let[message;$replace[$replace[$message;$message[0] ;];$message[0];]]
$let[user1;**$username[$get[user]]**] $let[user2;**$username[$authorID]**]
$onlyIf[$get[user]!=$authorID;You cant do this to yourself.]
$onlyIf[$getVar[rp-blocked-$authorID;$get[user]]!=true;Your Blocked by this user]
$setVar[slap-give;$authorID;$sum[$getVar[slap-give;$authorID];1]]
$setVar[slap-got;$get[user];$sum[$getVar[slap-got;$get[user]];1]]
$let[msg;$get[user1] got slapped by $get[user2].]
$description[$get[msg]$if[$get[message]!=;\n"$get[message]"]]
$color[$getVar[color;default]]
$let[type2;got slapped]
$!httpRequest[https://api.lynnux.xyz/roleplay/slap.json;get]
$let[url;$httpResult[embed;image;url]]
$image[$get[url]]
$footer[$username used slap $if[$getVar[slap-give;$authorID]==1;1 time;$getVar[slap-give;$authorID] times]. | $replace[$get[user1];**;;-1] $get[type2] $if[$getVar[slap-got;$get[user]]==1;1 time;$getVar[slap-got;$get[user]] times]]
`}
37 changes: 37 additions & 0 deletions SRC/commands/roleplay/negative/stab.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
name: "stab",
aliases: ["rp-stab"],
module: "Roleplay",
version: "1.0",
sourcecode: "https://github.com/LynnuxDev/Akira/blob/main/SRC/commands/Roleplay/wholesome/stab.js",
documentation: "https://documentation.lynnux.xyz/akira/roleplay",
type: "messageCreate",
description: "stab someone.",
usage: "stab <user> {message}",
example: "stab @dark_lynn\n{prefix}stab @dark_lynn get stabbed.",
code: `
$onlyIf[$message!=;Wrong usage of this command use \`stab <user> {message}\`]
$onlyIf[$checkContains[$message[0];<@&]!=true;You can't use this on a role.]
$let[user;$if[$message[0]==;$authorID;$findUser[$message[0];true]]]
$let[message;$replace[$replace[$message;$message[0] ;];$message[0];]]
$let[user1;**$username[$get[user]]**] $let[user2;**$username[$authorID]**]
$onlyIf[$get[user]!=$authorID;You cant do this to yourself.]
$onlyIf[$getVar[rp-blocked-$authorID;$get[user]]!=true;Your Blocked by this user]
$setVar[stab-give;$authorID;$sum[$getVar[stab-give;$authorID];1]]
$setVar[stab-got;$get[user];$sum[$getVar[stab-got;$get[user]];1]]
$let[msg;$get[user1] got stabbed by $get[user2].]
$description[$get[msg]$if[$get[message]!=;\n"$get[message]"]]
$color[$getVar[color;default]]
$let[type2;got stabbed]
$!httpRequest[https://api.lynnux.xyz/roleplay/stab.json;get]
$let[url;$httpResult[embed;image;url]]
$image[$get[url]]
$footer[$username used stab $if[$getVar[stab-give;$authorID]==1;1 time;$getVar[stab-give;$authorID] times]. | $replace[$get[user1];**;;-1] $get[type2] $if[$getVar[stab-got;$get[user]]==1;1 time;$getVar[stab-got;$get[user]] times]]
`}
37 changes: 37 additions & 0 deletions SRC/commands/roleplay/negative/triggered.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
name: "triggered",
aliases: ["rp-triggered"],
module: "Roleplay",
version: "1.0",
sourcecode: "https://github.com/LynnuxDev/Akira/blob/main/SRC/commands/Roleplay/wholesome/triggered.js",
documentation: "https://documentation.lynnux.xyz/akira/roleplay",
type: "messageCreate",
description: "triggered someone.",
usage: "triggered <user> {message}",
example: "triggered @dark_lynn\n{prefix}triggered @dark_lynn you trigger me.",
code: `
$onlyIf[$message!=;Wrong usage of this command use \`triggered <user> {message}\`]
$onlyIf[$checkContains[$message[0];<@&]!=true;You can't use this on a role.]
$let[user;$if[$message[0]==;$authorID;$findUser[$message[0];true]]]
$let[message;$replace[$replace[$message;$message[0] ;];$message[0];]]
$let[user1;**$username[$get[user]]**] $let[user2;**$username[$authorID]**]
$onlyIf[$get[user]!=$authorID;You cant do this to yourself.]
$onlyIf[$getVar[rp-blocked-$authorID;$get[user]]!=true;Your Blocked by this user]
$setVar[triggered-give;$authorID;$sum[$getVar[triggered-give;$authorID];1]]
$setVar[triggered-got;$get[user];$sum[$getVar[triggered-got;$get[user]];1]]
$let[msg;$get[user2] got triggered by $get[user1].]
$description[$get[msg]$if[$get[message]!=;\n"$get[message]"]]
$color[$getVar[color;default]]
$let[type2;got triggered]
$!httpRequest[https://api.lynnux.xyz/roleplay/triggered.json;get]
$let[url;$httpResult[embed;image;url]]
$image[$get[url]]
$footer[$username used triggered $if[$getVar[triggered-give;$authorID]==1;1 time;$getVar[triggered-give;$authorID] times]. | $replace[$get[user1];**;;-1] $get[type2] $if[$getVar[triggered-got;$get[user]]==1;1 time;$getVar[triggered-got;$get[user]] times]]
`}
Loading

0 comments on commit 856669d

Please sign in to comment.