Toggle navigation
Toggle navigation
This project
Loading...
Sign in
유병우
/
lostark-discord-bot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
유병우
2022-05-27 19:58:29 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eacaa64126aae90baeb0018599c503a1a4016ed3
eacaa641
1 parent
5e2f89f6
Update auction command
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
commands/auction.js
commands/auction.js
View file @
eacaa64
...
...
@@ -21,5 +21,17 @@ module.exports = {
.
addChoice
(
"16인"
,
"16인"
)
.
addChoice
(
"30인(필보/카게)"
,
"30인(필보/카게)"
)
),
async
execute
(
interaction
)
{},
async
execute
(
interaction
)
{
const
buyValue
=
parseInt
(
parseInt
(
interaction
.
options
.
getString
(
"경매가"
))
*
0.95
);
const
manyPeopleChoice
=
interaction
.
options
.
getString
(
"인원"
);
let
manyPeople
;
if
(
manyPeopleChoice
==
"4인"
)
manyPeople
=
4
;
else
if
(
manyPeopleChoice
==
"8인"
)
manyPeople
=
8
;
else
if
(
manyPeopleChoice
==
"16인"
)
manyPeople
=
16
;
else
if
(
manyPeopleChoice
==
"30인(필보/카게)"
)
manyPeople
=
30
;
},
};
\ No newline at end of file
...
...
Please
register
or
login
to post a comment