回答編集履歴
1
誤投稿
test
CHANGED
@@ -4,6 +4,12 @@
|
|
4
4
|
|
5
5
|
invites = await message.channel.invites()
|
6
6
|
|
7
|
+
if discord.utils.get(invites, max_age=0)
|
7
8
|
|
9
|
+
print(discord.utils.get(invites, max_age=0))
|
10
|
+
|
11
|
+
else:
|
12
|
+
|
13
|
+
print(await message.channel.create_invite())
|
8
14
|
|
9
15
|
```
|