update
This commit is contained in:
		
							parent
							
								
									38a1d8a898
								
							
						
					
					
						commit
						93de4325fd
					
				
							
								
								
									
										4
									
								
								bot.go
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								bot.go
									
									
									
									
									
								
							@ -82,13 +82,11 @@ func botPause(m *tb.Message) {
 | 
				
			|||||||
					} else {
 | 
										} else {
 | 
				
			||||||
						bot.SendChat(bot.Config.ChatID, "Game already paused.")
 | 
											bot.SendChat(bot.Config.ChatID, "Game already paused.")
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
					botPlayers(m)
 | 
					 | 
				
			||||||
					return
 | 
										return
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	botPlayers(m)
 | 
					 | 
				
			||||||
	bot.SendChat(bot.Config.ChatID, "You are not playing and cannot pause the game.")
 | 
						bot.SendChat(bot.Config.ChatID, "You are not playing and cannot pause the game.")
 | 
				
			||||||
	return
 | 
						return
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@ -105,13 +103,11 @@ func botUnpause(m *tb.Message) {
 | 
				
			|||||||
					} else {
 | 
										} else {
 | 
				
			||||||
						bot.SendChat(bot.Config.ChatID, fmt.Sprintf("Cannot unpause : %s", srv.NeedPauseReason()))
 | 
											bot.SendChat(bot.Config.ChatID, fmt.Sprintf("Cannot unpause : %s", srv.NeedPauseReason()))
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
					botPlayers(m)
 | 
					 | 
				
			||||||
					return
 | 
										return
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	botPlayers(m)
 | 
					 | 
				
			||||||
	bot.SendChat(bot.Config.ChatID, "You are not playing and cannot unpause the game.")
 | 
						bot.SendChat(bot.Config.ChatID, "You are not playing and cannot unpause the game.")
 | 
				
			||||||
	return
 | 
						return
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
// Code generated by version.sh (@generated) DO NOT EDIT.
 | 
					// Code generated by version.sh (@generated) DO NOT EDIT.
 | 
				
			||||||
package main
 | 
					package main
 | 
				
			||||||
var githash = "a050893"
 | 
					var githash = "38a1d8a"
 | 
				
			||||||
var buildstamp = "2021-11-08_14:48:10"
 | 
					var buildstamp = "2021-11-08_14:54:17"
 | 
				
			||||||
var commits = "173"
 | 
					var commits = "174"
 | 
				
			||||||
var version = "a050893-b173 - 2021-11-08_14:48:10"
 | 
					var version = "38a1d8a-b174 - 2021-11-08_14:54:17"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user