Merge branch 'main' of github.com:cooljith91112/lul-bot

This commit is contained in:
Indrajith K L
2021-05-26 10:20:40 +05:30
4 changed files with 164 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
## Documentation ## Documentation
- ```main.js``` is the entry file - ```main.js``` is the entry file
- ```commands.config.json``` is the main config file which holds the ```command``` & ```command``` file path. - ```commands.config.json``` is the main config file which holds the ```command``` & ```command file path``` .
- ```src/commands``` folder contains all the commands that is configured in ```commands.config.json```. A mandatory method ```execute``` should be implemented, that will be the default execution method while triggerring a command - ```src/commands``` folder contains all the commands that is configured in ```commands.config.json```. A mandatory method ```execute``` should be implemented, that will be the default execution method while triggerring a command
### Prerequisites ### Prerequisites

152
assets/logo.svg Normal file
View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="210mm"
height="297mm"
viewBox="0 0 210 297"
version="1.1"
id="svg8"
inkscape:version="1.0.2-2 (e86c870879, 2021-01-15)"
sodipodi:docname="logo.svg">
<defs
id="defs2">
<filter
inkscape:label="Duotone Turbulent"
inkscape:menu="Overlays"
inkscape:menu-tooltip="Basic noise fill texture; adjust color in Flood"
style="color-interpolation-filters:sRGB;"
id="filter1207">
<feColorMatrix
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 1 "
id="feColorMatrix1181" />
<feColorMatrix
type="saturate"
values="0"
result="result1"
id="feColorMatrix1183" />
<feFlood
flood-color="rgb(9,111,151)"
result="result2"
id="feFlood1185" />
<feColorMatrix
type="hueRotate"
values="0"
result="result3"
id="feColorMatrix1187" />
<feBlend
in2="result1"
mode="screen"
result="result2"
id="feBlend1189" />
<feBlend
in2="result2"
result="result4"
mode="multiply"
id="feBlend1191" />
<feTurbulence
numOctaves="5"
baseFrequency="0.035"
type="fractalNoise"
result="result7"
id="feTurbulence1193" />
<feColorMatrix
result="result0"
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 3 -1 "
id="feColorMatrix1195" />
<feFlood
flood-opacity="1"
flood-color="rgb(200,57,93)"
result="result1"
id="feFlood1197" />
<feBlend
in2="result4"
mode="lighten"
in="result1"
result="result5"
id="feBlend1199" />
<feComposite
in2="result0"
operator="out"
result="result6"
id="feComposite1201" />
<feComposite
in2="result4"
operator="atop"
result="result8"
id="feComposite1203" />
<feComposite
in2="SourceGraphic"
operator="in"
id="feComposite1205" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="380.97397"
inkscape:cy="547.07158"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
inkscape:window-width="1267"
inkscape:window-height="729"
inkscape:window-x="83"
inkscape:window-y="7"
inkscape:window-maximized="0" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<rect
style="opacity:1;fill:#8800aa;fill-opacity:1;stroke:#8800aa;stroke-width:0.264583;stroke-opacity:1;filter:url(#filter1207)"
id="rect10"
width="135.46666"
height="135.46666"
x="51.404758"
y="55.184521"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96" />
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:50.8px;line-height:1.25;font-family:sans-serif;fill:#f6d5ff;fill-opacity:1;stroke:#f6d5ff;stroke-width:0.264583"
x="117.75283"
y="107.34524"
id="text14"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"><tspan
sodipodi:role="line"
id="tspan12"
x="117.75283"
y="107.34524"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:50.8px;font-family:'Fira Code';-inkscape-font-specification:'Fira Code';text-align:center;text-anchor:middle;fill:#f6d5ff;stroke:#f6d5ff;stroke-width:0.264583">LUL</tspan><tspan
sodipodi:role="line"
x="117.75283"
y="171.25995"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:50.8px;font-family:'Fira Code';-inkscape-font-specification:'Fira Code';text-align:center;text-anchor:middle;fill:#f6d5ff;stroke:#f6d5ff;stroke-width:0.264583"
id="tspan16">BOT</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -11,5 +11,10 @@
"nee araa": "താൻ ആരാണെന്ന് തനിക്ക് അറിയാന്മേലെങ്കിൽ താൻ എന്നോട് ചോയ്ക്ക് താൻ ആരാണെന്ന്??? തനിക്ക് ഞാൻ പറഞ്ഞു തരാം താൻ ആരാണെന്ന്... 🤪🤪", "nee araa": "താൻ ആരാണെന്ന് തനിക്ക് അറിയാന്മേലെങ്കിൽ താൻ എന്നോട് ചോയ്ക്ക് താൻ ആരാണെന്ന്??? തനിക്ക് ഞാൻ പറഞ്ഞു തരാം താൻ ആരാണെന്ന്... 🤪🤪",
"kya banana hei": "Thumarah banana kaha hei...🤣🤣", "kya banana hei": "Thumarah banana kaha hei...🤣🤣",
"ക്യാ ബനാന ഹേയ്": "തുമരഹ് ബനാന കഹാ ഹേയ്...🤣🤣", "ക്യാ ബനാന ഹേയ്": "തുമരഹ് ബനാന കഹാ ഹേയ്...🤣🤣",
"good night": "Good Night 🌉. See you tomorrow. 👋👋" "good night": "Good Night 🌉. See you tomorrow. 👋👋",
"ola": "ഓല അല്ല തേങ്ങാ",
"അങ്ങിനെ പറയാതെ": "പിന്നെ എങ്ങിനെ പറയണം!!",
"kool": "എത്രെ ഡിഗ്രീ ഉണ്ട്? 🤣🤣",
"cool": "എത്രെ ഡിഗ്രീ ഉണ്ട്? 🤣🤣",
"adipoli": "മ് മ്"
} }

View File

@@ -64,7 +64,11 @@ function parseCMD(message) {
if (!client.commands.has(CMD_NAME)) return false; if (!client.commands.has(CMD_NAME)) return false;
client.commands.get(CMD_NAME).execute(client, message, args); if (typeof client.commands.get(CMD_NAME).execute === "function") {
client.commands.get(CMD_NAME).execute(client, message, args);
} else {
console.log(`execute method is not implemented for ${CMD_NAME}.js`);
}
return true; return true;
} }