change get_event_id, fix duplicates perhaps?
This commit is contained in:
parent
df9be373e8
commit
815c4ec530
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -94,7 +94,7 @@ async def send_message(text):
|
|||
|
||||
|
||||
def get_event_id(event: Event) -> str:
|
||||
return f"{event.begin}//{event.name}"
|
||||
return f"{'_'.join(str(x) for x in event.begin.isocalendar())}//{event.name}"
|
||||
|
||||
|
||||
async def main():
|
||||
|
|
Loading…
Reference in a new issue