[Core] Added co-owners to outdated message warnings (#2664)

* Added co-owners to potentially DMd users

* Fetch the cached of every guild, see comments of #2664

* Ensure owners can be DM'd.

* Refactoring try block.
This commit is contained in:
Kowlin
2019-05-14 06:33:05 +02:00
committed by Michael H
parent 3b6d4d9df6
commit 3de1a265ea
2 changed files with 22 additions and 8 deletions

View File

@@ -104,7 +104,9 @@ def main():
log.debug("Data Path: %s", data_manager._base_data_path())
log.debug("Storage Type: %s", data_manager.storage_type())
red = Red(cli_flags=cli_flags, description=description, dm_help=None)
red = Red(
cli_flags=cli_flags, description=description, dm_help=None, fetch_offline_members=True
)
init_global_checks(red)
init_events(red, cli_flags)
red.add_cog(Core(red))