Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the dm-or_ephmeral or get_tweet button design #94

Open
JDJGInc opened this issue Nov 9, 2022 · 8 comments
Open

Update the dm-or_ephmeral or get_tweet button design #94

JDJGInc opened this issue Nov 9, 2022 · 8 comments

Comments

@JDJGInc
Copy link
Member

JDJGInc commented Nov 9, 2022

image
Stuff like this or

image
Look a bit ugly(the key is having menu running in menu with interaction or something, so this could be updated

@JDJGInc
Copy link
Member Author

JDJGInc commented Nov 9, 2022

Owner is the only one who uses dm_or_ephemeral

@JDJGInc
Copy link
Member Author

JDJGInc commented Nov 9, 2022

class TweetHandler(discord.ui.View):

class dm_or_ephemeral(discord.ui.View):

view = utils.TweetHandler(ctx, menu, ctx.author.dm_channel)

menu = MutualGuildsEmbed(pages, ctx=self.view.ctx, delete_after=True)

UserInfoButton(label="Secret Message(DM)", style=discord.ButtonStyle.success, emoji="📥", custom_id="1")

@JDJGInc
Copy link
Member Author

JDJGInc commented Nov 9, 2022

Some of them also need a timeout to remove the buttons and say, option not chosen.
(this however could be changed)

@JDJGInc
Copy link
Member Author

JDJGInc commented Nov 9, 2022

get_tweet also needs the new button which will lead to a media paginator(will be disabled if media is None)

Thanks to @Soheab for help with earlier things

@JDJGInc
Copy link
Member Author

JDJGInc commented Nov 10, 2022

I need to fix this, before I finish, maybe hitting normal can just edit the message into using the paginator hmm

@JDJGInc
Copy link
Member Author

JDJGInc commented Nov 10, 2022

image
Better Design is now used in one.

@JDJGInc
Copy link
Member Author

JDJGInc commented Nov 10, 2022

f0ba9cf
Looks a little cleaner.

@JDJGInc
Copy link
Member Author

JDJGInc commented Nov 10, 2022

Will need to look at things again when updated again after this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

1 participant