Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

Commit

Permalink
bump 4.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Wonderfall committed Apr 24, 2020
1 parent 7ff7c17 commit dc799ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
if debug_mode == True: logging.basicConfig(level=logging.DEBUG)

#### Infos
version = "5.9"
version = "5.10"
author = "Wonderfall"
name = "A.T.O.S."

Expand Down Expand Up @@ -927,6 +927,7 @@ async def get_available_category(match_round):
name=desired_cat,
reason='Since no category was available, a new one was created'
)
# kwarg 'position' will be supported in next discord.py release, for now we have to edit
await new_category.edit(position = guild.get_channel(tournoi_cat_id).position + 1)
return new_category

Expand Down

0 comments on commit dc799ce

Please sign in to comment.