Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jiwon Kim
HajeSlackBot
Commits
c61691cf
Commit
c61691cf
authored
9 months ago
by
Jiwon Kim
Browse files
Options
Download
Email Patches
Plain Diff
ㅁㄴㅇㄹ
parent
622bf36b
master
moneybot
v1.1
v1.0
No related merge requests found
Pipeline
#1295
passed with stage
in 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/bot/moneybot/moneybot.py
+2
-2
scripts/bot/moneybot/moneybot.py
with
2 additions
and
2 deletions
+2
-2
scripts/bot/moneybot/moneybot.py
View file @
c61691cf
...
...
@@ -71,7 +71,7 @@ class MoneyBot:
debtor_string
=
" "
#debtor_dict을 어딘가에 저장해야 한다
debtor_dict_token
=
str
(
datetime
.
now
()
+
str
(
random
.
randint
(
0
,
1000000000
))
)
debtor_dict_token
=
str
(
datetime
.
now
()
)
+
str
(
random
.
randint
(
0
,
1000000000
))
self
.
show_payment_dict
[
debtor_dict_token
]
=
debtor_dict
block_send
=
[
...
...
@@ -183,7 +183,7 @@ class MoneyBot:
}
]
return
None
,
moneybot_channel
,
[{
"type"
:
"
ephemeral
"
,
"user_id"
:
user_id
,
"blocks"
:
block
}]
return
None
,
moneybot_channel
,
[{
"type"
:
"
message
"
,
"user_id"
:
user_id
,
"blocks"
:
block
}]
def
parse
(
self
,
arg_str
:
str
)
->
tuple
[
dict
[
str
,
int
],
str
]:
# 닉네임 : @id, 돈 : (정수)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help