Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2bd4fcb136 | ||
|
|
2a91274d7f |
@@ -49,7 +49,7 @@ class RequestCog(commands.Cog, name="Request Commands"):
|
||||
"""
|
||||
|
||||
config: DakinyConfig = self.bot.config
|
||||
content = f'<@{interaction.user.id}> would like to add presence"{presence}."'
|
||||
content = f'<@{interaction.user.id}> would like to add presence" {presence}."'
|
||||
view = PresenceChange(presence)
|
||||
await self.bot.get_channel(config.params.admin_channel_id).send(
|
||||
content=content, view=view
|
||||
|
||||
@@ -28,7 +28,7 @@ def get_datetime(day: str) -> datetime:
|
||||
day = int(day.split("/")[1])
|
||||
|
||||
# ensure that year rolls over if current month is December and the next month is less than 12.
|
||||
if datetime.today().month == 12 & month < 12:
|
||||
if datetime.today().month == 12 and month < 12:
|
||||
year += 1
|
||||
|
||||
return datetime(year, month, day)
|
||||
|
||||
Reference in New Issue
Block a user