tomgigler / GiggleMe

MIT License
2 stars 0 forks source link

show next fails because of autoreplies #218

Closed tomgigler closed 4 months ago

tomgigler commented 9 months ago

show next is failing because autoreplies don't have a deliverytime

Traceback (most recent call last):
  File "/root/GiggleMe/gigglebot.py", line 1185, in on_message
    await show_delayed_message(msg.channel, msg.author.id, match.group(5), match.group(3))
  File "/root/GiggleMe/gigglebot.py", line 742, in show_delayed_message
    if delayed_messages[msg_id].delivery_time is not None and delayed_messages[msg_id].guild_id == channel.guild.id:
AttributeError: 'AutoReply' object has no attribute 'delivery_time'