Change optional @ to "@ " to avoid @ing people on discord who share the same name as a team
This commit is contained in:
parent
0510fabc13
commit
3844f5246c
|
@ -325,13 +325,6 @@ class ScheduleSeriesManuallyCommand():
|
||||||
def isauthorized(self, user):
|
def isauthorized(self, user):
|
||||||
return user.id in config()["owners"]
|
return user.id in config()["owners"]
|
||||||
|
|
||||||
# async def startgamedebug(self, msg, team1, team2, innings):
|
|
||||||
# print("{},{} s".format(team1,team2))
|
|
||||||
# gamesarray.append("{},{} s".format(team1,team2))
|
|
||||||
# await asyncio.sleep(6)
|
|
||||||
# gamesarray.pop(gamesarray.index("{},{} s".format(team1,team2)))
|
|
||||||
# print("{},{} end".format(team1,team2))
|
|
||||||
|
|
||||||
async def startgame(self, msg, team1, team2, innings):
|
async def startgame(self, msg, team1, team2, innings):
|
||||||
game = games.game(msg.author.name, team1, team2, length=innings)
|
game = games.game(msg.author.name, team1, team2, length=innings)
|
||||||
channel = msg.channel
|
channel = msg.channel
|
||||||
|
|
Loading…
Reference in a new issue