improved error handling
This commit is contained in:
3
data.py
3
data.py
@@ -83,7 +83,8 @@ class MsgData:
|
||||
LOGGER.warning(e)
|
||||
|
||||
if (new := await reaction_series(msg=msg)) is not None:
|
||||
self.reactions = pd.concat([self.reactions, new.set_index(['msg id', 'emoji'])])
|
||||
new = new.set_index(['msg id', 'emoji'])
|
||||
self.reactions = pd.concat([self.reactions, new])
|
||||
LOGGER.info(f'\n{str(new)}')
|
||||
|
||||
def emoji_messages(self, emoji_name: str, days: int):
|
||||
|
||||
Reference in New Issue
Block a user