Fix name conflicts in star add

This commit is contained in:
Zeva Rose 2022-04-19 11:50:12 -06:00
parent a20449f7b2
commit e66b15b2d6

View file

@ -131,9 +131,9 @@ class StarboardCog(Scale):
channel_list = [] channel_list = []
to_delete = [] to_delete = []
for starboard in starboards: for starboard in starboards:
channel = await ctx.guild.fetch_channel(starboard.channel) c = await ctx.guild.fetch_channel(starboard.channel)
if channel: if c:
channel_list.append(channel) channel_list.append(c)
else: else:
to_delete.append(starboard) to_delete.append(starboard)