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

Commit dc799ce

Browse files
committed
bump 4.10
1 parent 7ff7c17 commit dc799ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
if debug_mode == True: logging.basicConfig(level=logging.DEBUG)
2626

2727
#### Infos
28-
version = "5.9"
28+
version = "5.10"
2929
author = "Wonderfall"
3030
name = "A.T.O.S."
3131

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

0 commit comments

Comments
 (0)