You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -95,6 +112,12 @@ var commandMap = map[string]Command{
95
112
Args: []string{},
96
113
Handler: devyDeveloperCommandHandler,
97
114
},
115
+
"!poll": {
116
+
Name: "!poll",
117
+
Description: "creates a poll in the poll channel if specified on devy or the current channel. question and options must be wrapped with double quotes (\"question...\"\"option 1\"\"option 2\")",
// TODO: need a better way to determine if the reaction emoji is one of the poll emojis. This code does not consider that the question itself may contain an emoji and that emoji would be allowed to be used in the reactions
// TODO: there is probably a simplification in the logic in this method AllBetweenPattern. We unfortunately can't use a regular expression since go does not support before text matching (?=re) https://github.com/google/re2/wiki/Syntax https://github.com/google/re2/wiki/WhyRE2
0 commit comments