Skip to content

Commit

Permalink
Add kuma pic
Browse files Browse the repository at this point in the history
  • Loading branch information
TLNBS2405 committed Feb 14, 2024
1 parent 675dfde commit d6917d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/module/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/resources/character_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
{
Expand Down

0 comments on commit d6917d8

Please sign in to comment.