You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to create a discord bot to supprt full integration with freshdesk.
i wish to be notified about new replay from customer
my bot sends automatic replay to each new ticket so i thought that i will count replays and if it wil be >1 and ticket will be open then i will notify about updates
for ticket in fresh_api.tickets.list_open_tickets(): for comment in fresh_api.comments.list_comments(ticket.id): if comment.source == 0 or comment.source == 8 comment.count() > 1: await it.send(f'Pojawiła się odpowiedź do zgłoszenia: {ticket.id}') else: pass
The text was updated successfully, but these errors were encountered:
Im trying to create a discord bot to supprt full integration with freshdesk.
i wish to be notified about new replay from customer
my bot sends automatic replay to each new ticket so i thought that i will count replays and if it wil be >1 and ticket will be open then i will notify about updates
for ticket in fresh_api.tickets.list_open_tickets(): for comment in fresh_api.comments.list_comments(ticket.id): if comment.source == 0 or comment.source == 8 comment.count() > 1: await it.send(f'Pojawiła się odpowiedź do zgłoszenia: {ticket.id}') else: pass
The text was updated successfully, but these errors were encountered: