File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ def create_endpoints(plugin: SlackPlugin):
2727 plugin .on_command ("/roll" , slash_roll , wait = False )
2828 plugin .on_command ("/mentor" , slash_mentor , wait = False )
2929 plugin .on_command ("/mentor-volunteer" , slash_mentor_volunteer , wait = False )
30- plugin .on_command ("/survey" , slash_survey , wait = False )
3130
3231
3332@catch_command_slack_error
@@ -155,15 +154,3 @@ async def slash_roll(command: Command, app: SirBot):
155154 message = f"<@{ slack_id } > Rolled { numdice } D{ typedice } : { dice } "
156155 response = dict (channel = channel_id , text = message )
157156 await slack .query (methods .CHAT_POST_MESSAGE , response )
158-
159- @catch_command_slack_error
160- async def slash_survey (command : Command , app : SirBot ):
161- """
162- Invoked via the command /survey
163- Provides a link to the survey on our website
164- """
165-
166- slack = app ["plugins" ]["slack" ].api
167-
168- print ("HERE IS THE SURVEY LINK:" )
169- await slack .query (methods .CHAT_POST_MESSAGE , "Please fill out our survey at: https://operationcode.org/survey" )
You can’t perform that action at this time.
0 commit comments