Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wantzel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Brendan Abolivier
wantzel
Commits
eebf7db1
Commit
eebf7db1
authored
Jun 12, 2015
by
Mindiell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Totally remove the 'title' from rp command
parent
1787a97f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
wantzel.py
wantzel.py
+2
-3
No files found.
wantzel.py
View file @
eebf7db1
...
@@ -221,7 +221,7 @@ class Wantzel(object):
...
@@ -221,7 +221,7 @@ class Wantzel(object):
Utils
.
debug
(
"Command:
%
s"
%
command
)
Utils
.
debug
(
"Command:
%
s"
%
command
)
if
command
.
startswith
(
"rp"
):
if
command
.
startswith
(
"rp"
):
Utils
.
debug
(
"Calling self.rp"
)
Utils
.
debug
(
"Calling self.rp"
)
self
.
rp
(
command
,
user
,
channel
,
msg
,
title
)
self
.
rp
(
command
,
user
,
channel
,
msg
)
elif
command
==
"help"
:
elif
command
==
"help"
:
Utils
.
debug
(
"Calling self.help"
)
Utils
.
debug
(
"Calling self.help"
)
self
.
help
(
user
,
channel
,
msg
)
self
.
help
(
user
,
channel
,
msg
)
...
@@ -253,7 +253,7 @@ class Wantzel(object):
...
@@ -253,7 +253,7 @@ class Wantzel(object):
else
:
else
:
self
.
send_message
(
channel
,
messages
[
"help"
])
self
.
send_message
(
channel
,
messages
[
"help"
])
def
rp
(
self
,
command
,
user
,
channel
,
msg
,
title
=
""
):
def
rp
(
self
,
command
,
user
,
channel
,
msg
):
"""
"""
Adding the article in rp database.
Adding the article in rp database.
"""
"""
...
@@ -261,7 +261,6 @@ class Wantzel(object):
...
@@ -261,7 +261,6 @@ class Wantzel(object):
Utils
.
debug
(
"rp user :
%
s"
%
user
)
Utils
.
debug
(
"rp user :
%
s"
%
user
)
Utils
.
debug
(
"rp channel :
%
s"
%
channel
)
Utils
.
debug
(
"rp channel :
%
s"
%
channel
)
Utils
.
debug
(
"rp msg :
%
s"
%
msg
)
Utils
.
debug
(
"rp msg :
%
s"
%
msg
)
Utils
.
debug
(
"rp title :
%
s"
%
title
)
cite
=
0
cite
=
0
note
=
1
note
=
1
url
=
get_url
(
msg
)
url
=
get_url
(
msg
)
...
...
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