mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07:03 +01:00
Fix channel history typo
This commit is contained in:
parent
82d7b477aa
commit
18f25d0852
@ -95,7 +95,7 @@ class Titan(discord.Client):
|
||||
if isinstance(channel, discord.channel.TextChannel):
|
||||
print("Processing channel: ID-{} Name-'{}' ServerID-{} Server-'{}'".format(channel.id, channel.name, channel.guild.id, channel.guild.name))
|
||||
await self.database.delete_all_messages_from_channel(channel.id)
|
||||
async for message in self.logs_from(channel, limit=50, reverse=True):
|
||||
async for message in channel.history(limit=50, reverse=True):
|
||||
await self.database.push_message(message)
|
||||
except:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user