mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Reformat entire project with ruff instead of black
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
|
||||
# Defines a custom Select containing colour options
|
||||
# that the user can choose. The callback function
|
||||
# of this class is called when the user changes their choice
|
||||
class Dropdown(discord.ui.Select):
|
||||
def __init__(self):
|
||||
|
||||
# Set the options that will be presented inside the dropdown
|
||||
options = [
|
||||
discord.SelectOption(label='Red', description='Your favourite colour is red', emoji='🟥'),
|
||||
|
Reference in New Issue
Block a user