diff --git a/src/main.py b/src/main.py index ad62469..ab6dc3d 100644 --- a/src/main.py +++ b/src/main.py @@ -98,6 +98,7 @@ async def command(interaction: discord.Interaction, move: str) -> None: return command + with open(CHARACTER_LIST_PATH) as json_file: character_names = json.load(json_file) for character in character_names: diff --git a/src/module/util.py b/src/module/util.py index 2861c01..b7b6cb0 100644 --- a/src/module/util.py +++ b/src/module/util.py @@ -42,7 +42,7 @@ def is_user_blacklisted(user_id): def is_author_newly_created(interaction: discord.Interaction): today = datetime.datetime.strptime(datetime.datetime.now().isoformat(), "%Y-%m-%dT%H:%M:%S.%f") age = today - interaction.user.created_at.replace(tzinfo=None) - if age.days < 120: + if age.days < 60: return True return False diff --git a/src/resources/character_list.json b/src/resources/character_list.json index bbe5d60..7400ec2 100644 --- a/src/resources/character_list.json +++ b/src/resources/character_list.json @@ -71,7 +71,7 @@ }, { "name": "kuma", - "portrait": "https://i.imgur.com/HhPyKVn.png", + "portrait": "https://i.imgur.com/1Pq8iRK.png", "wavu_page": "https://wavu.wiki/t/Kuma" }, {