mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
Lol I can do this
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = class MemeCommand extends Command {
|
|||||||
prompt: 'What meme type do you want to use?',
|
prompt: 'What meme type do you want to use?',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
validate: type => {
|
validate: type => {
|
||||||
if (memecodes.some(memeArray => type.toLowerCase() === memeArray)) {
|
if (memecodes.includes(type.toLowerCase())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return 'Please enter a valid meme type. Use `;help meme` to view a list of types.';
|
return 'Please enter a valid meme type. Use `;help meme` to view a list of types.';
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "28.0.0",
|
"version": "28.0.1",
|
||||||
"description": "A Discord Bot",
|
"description": "A Discord Bot",
|
||||||
"main": "shardingmanager.js",
|
"main": "shardingmanager.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user