Skip to content

Commit

Permalink
Fix ancient bug in python libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
parsley42 committed Oct 25, 2024
1 parent c1a6e18 commit c1903bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/gopherbot_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def PromptThreadForReply(self, regex_id, prompt, format=""):
return self.PromptUserChannelThreadForReply(regex_id, self.user, self.channel, self.thread_id, prompt, format)

def PromptUserForReply(self, regex_id, user, prompt, format=""):
return self.PromptUserChannelThreadForReply(regex_id, user, "", prompt, format)
return self.PromptUserChannelThreadForReply(regex_id, user, "", "", prompt, format)

def PromptUserChannelThreadForReply(self, regex_id, user, channel, thread, prompt, format=""):
for i in range(0, 3):
Expand Down
2 changes: 1 addition & 1 deletion lib/gopherbot_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def PromptThreadForReply(self, regex_id, prompt, format=""):
return self.PromptUserChannelThreadForReply(regex_id, self.user, self.channel, self.thread_id, prompt, format)

def PromptUserForReply(self, regex_id, user, prompt, format=""):
return self.PromptUserChannelThreadForReply(regex_id, user, "", prompt, format)
return self.PromptUserChannelThreadForReply(regex_id, user, "", "", prompt, format)

def PromptUserChannelThreadForReply(self, regex_id, user, channel, thread, prompt, format=""):
for i in range(0, 3):
Expand Down

0 comments on commit c1903bf

Please sign in to comment.