summaryrefslogtreecommitdiff
path: root/src/commands/roleplay
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/roleplay')
-rw-r--r--src/commands/roleplay/blush.ts9
-rw-r--r--src/commands/roleplay/celebrate.ts7
-rw-r--r--src/commands/roleplay/eat.ts7
-rw-r--r--src/commands/roleplay/fistbump.ts9
-rw-r--r--src/commands/roleplay/highfive.ts9
-rw-r--r--src/commands/roleplay/holdhands.ts9
-rw-r--r--src/commands/roleplay/hug.ts9
-rw-r--r--src/commands/roleplay/inhale.ts9
-rw-r--r--src/commands/roleplay/kill.ts9
-rw-r--r--src/commands/roleplay/kiss.ts9
-rw-r--r--src/commands/roleplay/pat.ts9
-rw-r--r--src/commands/roleplay/poke.ts9
-rw-r--r--src/commands/roleplay/punch.ts9
-rw-r--r--src/commands/roleplay/slap.ts9
-rw-r--r--src/commands/roleplay/sleep.ts7
-rw-r--r--src/commands/roleplay/wakeup.ts7
-rw-r--r--src/commands/roleplay/wave.ts9
-rw-r--r--src/commands/roleplay/wink.ts9
18 files changed, 86 insertions, 68 deletions
diff --git a/src/commands/roleplay/blush.ts b/src/commands/roleplay/blush.ts
index bbf0107..9d7352a 100644
--- a/src/commands/roleplay/blush.ts
+++ b/src/commands/roleplay/blush.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class BlushRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'blush',
group: 'roleplay',
@@ -24,7 +25,7 @@ module.exports = class BlushRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** blushes at **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** blushes at **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/celebrate.ts b/src/commands/roleplay/celebrate.ts
index 6924b39..f84f6f3 100644
--- a/src/commands/roleplay/celebrate.ts
+++ b/src/commands/roleplay/celebrate.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class CelebrateRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'celebrate',
group: 'roleplay',
@@ -18,6 +19,6 @@ module.exports = class CelebrateRoleplay extends Command {
});
}
run(msg: CommandoMessage) {
- msg.say(`_**${msg.author.username}** celebrates._` + ' ' + emoji.random())
+ return msg.say(`_**${msg.author.username}** celebrates._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/eat.ts b/src/commands/roleplay/eat.ts
index ba2c364..25f4cbb 100644
--- a/src/commands/roleplay/eat.ts
+++ b/src/commands/roleplay/eat.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class EatRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'eat',
group: 'roleplay',
@@ -18,6 +19,6 @@ module.exports = class EatRoleplay extends Command {
});
}
run(msg: CommandoMessage) {
- msg.say(`_**${msg.author.username}** eats._` + ' ' + emoji.random())
+ return msg.say(`_**${msg.author.username}** eats._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/fistbump.ts b/src/commands/roleplay/fistbump.ts
index e60bc80..dc6d32d 100644
--- a/src/commands/roleplay/fistbump.ts
+++ b/src/commands/roleplay/fistbump.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class FistBumpRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'fistbump',
aliases: ['fist-bump'],
@@ -25,7 +26,7 @@ module.exports = class FistBumpRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** fist-bumps **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** fist-bumps **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/highfive.ts b/src/commands/roleplay/highfive.ts
index 52dfa3d..605d505 100644
--- a/src/commands/roleplay/highfive.ts
+++ b/src/commands/roleplay/highfive.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class HighFiveRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'highfive',
aliases: ['high-five'],
@@ -25,7 +26,7 @@ module.exports = class HighFiveRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** high-fives **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** high-fives **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/holdhands.ts b/src/commands/roleplay/holdhands.ts
index acfa78e..7a46667 100644
--- a/src/commands/roleplay/holdhands.ts
+++ b/src/commands/roleplay/holdhands.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class HoldHandsRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'holdhands',
aliases: ['hold-hands', 'holdhand', 'hold-hand'],
@@ -25,7 +26,7 @@ module.exports = class HoldHandsRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** holds **${uUser.username}** hand._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** holds **${uUser.username}** hand._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/hug.ts b/src/commands/roleplay/hug.ts
index b77f681..e31e53f 100644
--- a/src/commands/roleplay/hug.ts
+++ b/src/commands/roleplay/hug.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class HugRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'hug',
group: 'roleplay',
@@ -24,7 +25,7 @@ module.exports = class HugRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** hugs **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** hugs **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/inhale.ts b/src/commands/roleplay/inhale.ts
index 4765a86..8a49bd1 100644
--- a/src/commands/roleplay/inhale.ts
+++ b/src/commands/roleplay/inhale.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class InhaleRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'inhale',
group: 'roleplay',
@@ -24,7 +25,7 @@ module.exports = class InhaleRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** inhales **${uUser.username}** but gained no abilities._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** inhales **${uUser.username}** but gained no abilities._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/kill.ts b/src/commands/roleplay/kill.ts
index 5756ad0..15446cd 100644
--- a/src/commands/roleplay/kill.ts
+++ b/src/commands/roleplay/kill.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class KillRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'kill',
group: 'roleplay',
@@ -24,7 +25,7 @@ module.exports = class KillRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** kills **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** kills **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/kiss.ts b/src/commands/roleplay/kiss.ts
index 7b455c7..6dbec4e 100644
--- a/src/commands/roleplay/kiss.ts
+++ b/src/commands/roleplay/kiss.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class KissRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'kiss',
group: 'roleplay',
@@ -24,7 +25,7 @@ module.exports = class KissRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** kisses **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** kisses **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/pat.ts b/src/commands/roleplay/pat.ts
index 70649a4..82c47d2 100644
--- a/src/commands/roleplay/pat.ts
+++ b/src/commands/roleplay/pat.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class PatRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'pat',
group: 'roleplay',
@@ -24,7 +25,7 @@ module.exports = class PatRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** pat **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** pat **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/poke.ts b/src/commands/roleplay/poke.ts
index 6d8525d..a008bcb 100644
--- a/src/commands/roleplay/poke.ts
+++ b/src/commands/roleplay/poke.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class PokeRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'poke',
group: 'roleplay',
@@ -24,7 +25,7 @@ module.exports = class PokeRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** pokes **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** pokes **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/punch.ts b/src/commands/roleplay/punch.ts
index 980bcff..8e5d8f8 100644
--- a/src/commands/roleplay/punch.ts
+++ b/src/commands/roleplay/punch.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class PunchRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'punch',
group: 'roleplay',
@@ -24,7 +25,7 @@ module.exports = class PunchRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** punches **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** punches **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/slap.ts b/src/commands/roleplay/slap.ts
index f007cb7..afe6546 100644
--- a/src/commands/roleplay/slap.ts
+++ b/src/commands/roleplay/slap.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class SlapRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'slap',
group: 'roleplay',
@@ -24,7 +25,7 @@ module.exports = class SlapRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** slaps **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** slaps **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/sleep.ts b/src/commands/roleplay/sleep.ts
index 0d8beb2..5186044 100644
--- a/src/commands/roleplay/sleep.ts
+++ b/src/commands/roleplay/sleep.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class SleepRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'sleep',
group: 'roleplay',
@@ -18,6 +19,6 @@ module.exports = class SleepRoleplay extends Command {
});
}
run(msg: CommandoMessage) {
- msg.say(`_**${msg.author.username}** falls asleep._` + ' ' + emoji.random())
+ return msg.say(`_**${msg.author.username}** falls asleep._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/wakeup.ts b/src/commands/roleplay/wakeup.ts
index d8418a7..cdf99b4 100644
--- a/src/commands/roleplay/wakeup.ts
+++ b/src/commands/roleplay/wakeup.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class WakeUpRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'wakeup',
aliases: ['wake-up'],
@@ -19,6 +20,6 @@ module.exports = class WakeUpRoleplay extends Command {
});
}
run(msg: CommandoMessage) {
- msg.say(`_**${msg.author.username}** wakes up._` + ' ' + emoji.random())
+ return msg.say(`_**${msg.author.username}** wakes up._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/wave.ts b/src/commands/roleplay/wave.ts
index 5c0b0f2..21e04f6 100644
--- a/src/commands/roleplay/wave.ts
+++ b/src/commands/roleplay/wave.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class WaveRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'wave',
group: 'roleplay',
@@ -24,7 +25,7 @@ module.exports = class WaveRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** waves at **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** waves at **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/roleplay/wink.ts b/src/commands/roleplay/wink.ts
index dd80613..4b2061b 100644
--- a/src/commands/roleplay/wink.ts
+++ b/src/commands/roleplay/wink.ts
@@ -1,8 +1,9 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+//@ts-ignore no types
import emoji from 'emoji-random';
module.exports = class WinkRoleplay extends Command {
- constructor(client) {
+ constructor(client: CommandoClient) {
super(client, {
name: 'wink',
group: 'roleplay',
@@ -24,7 +25,7 @@ module.exports = class WinkRoleplay extends Command {
]
});
}
- run(msg: CommandoMessage, { uUser }) {
- msg.say(`_**${msg.author.username}** winks at **${uUser.username}**._` + ' ' + emoji.random())
+ run(msg: CommandoMessage, { uUser }: any) {
+ return msg.say(`_**${msg.author.username}** winks at **${uUser.username}**._` + ' ' + emoji.random())
}
}; \ No newline at end of file