Skip to content

Whalebot#78

Draft
Whale92130 wants to merge 56 commits intodevelopmentfrom
whale
Draft

Whalebot#78
Whale92130 wants to merge 56 commits intodevelopmentfrom
whale

Conversation

@Whale92130
Copy link
Collaborator

Discord Bot for scheduling events in a server

WesleyPodolsky and others added 30 commits May 16, 2024 20:05
day, all the times are working but need to add timezones and am/pm
support
alos reamove the 1 tags thing just make it 1 msg used to be an array
Copy link

@cb1658 cb1658 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Below are some suggestions:

  • Check to see if inputted times are valid (i.e. Do not insert 9/32 as a valid date)
  • Add more documentation on how to schedule events (i.e. which time zones are valid)


String getTimeStamp(Event e) {
Date d = new Date();
d.setDate(Integer.parseInt(e.getDate().split("/")[1]));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add try catches for these parse ints in case of invalid input by user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants