Run ruff linter with autofixing.
This commit is contained in:
@@ -47,7 +47,6 @@ class RecordCog(commands.Cog, name="Record Commands"):
|
||||
name (str): Name of the event.
|
||||
host (nextcord.Member, optional): Alternative host to user using command.
|
||||
"""
|
||||
|
||||
# check role
|
||||
if interaction.guild.get_role(self.bot.config.params.event_host_role_id) not in interaction.user.roles:
|
||||
await interaction.response.send_message(
|
||||
@@ -110,7 +109,6 @@ class EventView(nextcord.ui.View):
|
||||
Submits the event embed to the event channel. Removes view and embed from recording message.
|
||||
Sends point information to database.
|
||||
"""
|
||||
|
||||
discord_users = self.event_participants.values.members
|
||||
if discord_users:
|
||||
discord_users_list: list[str] = [str(user.id) for user in discord_users if user.id is not self.host_id]
|
||||
|
||||
Reference in New Issue
Block a user