Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Sep 8, 2017
1 parent dd903d5 commit 96c40a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions slack_cleaner/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ def __init__(self):
# Conditions
p.add_argument('--user',
help='Delete messages/files from certain user')
p.add_argument('--botname',
help='Delete messages/files from certain bots')
p.add_argument('--bot', action='store_true',
help='Delete messages from bots')
p.add_argument('--after',
Expand Down Expand Up @@ -78,6 +80,7 @@ def __init__(self):
self.mpdirect_name = args.mpdirect

self.user_name = args.user
self.botname = args.botname
self.bot = args.bot
self.start_time = args.after
self.end_time = args.before
Expand Down

0 comments on commit 96c40a3

Please sign in to comment.