mirror of
https://git.klmp200.net/ALFRED/ALFRED.git
synced 2025-04-11 10:14:41 +02:00
Remove \ when cleaning Genders
This commit is contained in:
parent
5ba31d37cb
commit
54517b8e99
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
* @Author: Bartuccio Antoine
|
||||
* @Date: 2018-07-24 14:55:33
|
||||
* @Last Modified by: klmp200
|
||||
* @Last Modified time: 2018-07-24 20:29:36
|
||||
* @Last Modified time: 2018-07-25 00:19:03
|
||||
*/
|
||||
|
||||
package commands
|
||||
|
@ -52,6 +52,7 @@ func Gender(m *tb.Message) {
|
|||
|
||||
func cleanGender(slice []string) []string {
|
||||
for i := range slice {
|
||||
slice[i] = strings.Replace(slice[i], "\\", "", -1)
|
||||
clean := false
|
||||
for !clean {
|
||||
clean = true
|
||||
|
|
Loading…
Add table
Reference in a new issue