forked from Mikasuru/KukuriClient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCommands.bat
42 lines (39 loc) · 1.03 KB
/
Commands.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
@echo off
:main
cls
echo ------------------------------
echo Discord Bot Command Module
echo ------------------------------
:filename
echo Example: Hello.js
set /p filename=Input File name:
echo -------
:cmdname
echo Example: hello
set /p cmdname=Input Command Name:
echo -------
:description
echo Example: Saying hello to people
set /p description=Input Command Info:
echo -------
:reply
echo Example: Hello everyone!
set /p reply=What should bot reply?:
echo -------
:create_file
echo module.exports = { > "Commands\%filename%"
echo name: '%cmdname%', >> "Commands\%filename%"
echo description: '%description%', >> "Commands\%filename%"
echo execute(message, args, client) { >> "Commands\%filename%"
echo message.reply(`%reply%`); >> "Commands\%filename%"
echo }, >> "Commands\%filename%"
echo }; >> "Commands\%filename%"
:success
cls
echo ------------------------------
echo Success!
echo Name: %filename%
echo New Command: %cmdname%
echo ------------------------------
pause
exit /b