oldschoolbot icon indicating copy to clipboard operation
oldschoolbot copied to clipboard

[TESTED]Added Auto Contract button next to ask for easier & changed emoji for easier button

Open I-am-TURBO opened this issue 1 year ago • 5 comments

Description:

help it stand out from the auto farming contract button Screenshot_20240109_201433_Discord

Changes:

  • added Auto farming Contract button to go next to Ask for Easier
  • Changed Emoji of Ask for easier button

Other checks:

  • [x] I have tested all my changes thoroughly.
screenshot of change ![SmartSelect_20240427_061146_Discord.png](https://github.com/oldschoolgg/oldschoolbot/assets/133211494/ca3a2cf8-1bf9-4b81-9df3-e367462e4cc3)

I-am-TURBO avatar Jan 12 '24 07:01 I-am-TURBO

Currently you've only changed the emoji, this is an empty commit.

I saw in the closed pr that you do have the code for the suggested button change.

Unsure if a dice is a suitable alternative emoji (but not up to me)

so for the life of me I'm not sure what happened to the file I had saved that had all the error fixing already done so I just went through it all again. but it is now back to where it was before with circular tests failing, which @themrrobert said is something I can't do on my own.

and @themrrobert gave me the idea of changing the one emoji and when I asked for suggestions he came up with the dice.

I-am-TURBO avatar Jan 12 '24 12:01 I-am-TURBO

Your circular dependency issue can be fixed by adding:

const autoContractButton = new ButtonBuilder() .setCustomId('AUTO_FARMING_CONTRACT') .setLabel('Auto Farming Contract') .setStyle(ButtonStyle.Secondary) .setEmoji('977410792754413668');

before the farmingContractCommand function.

tested here: https://discord.com/channels/940758552425955348/1162793245194072074/1195448092665847831

nwjgit avatar Jan 12 '24 19:01 nwjgit

Do you have a test bot you're testing this on?

gc avatar Feb 02 '24 04:02 gc

Do you have a test bot you're testing this on?

unfortunately not. cyr also worked with me on the coding for this one too.

I-am-TURBO avatar Feb 02 '24 05:02 I-am-TURBO

Do you have a test bot you're testing this on?

I tested it here: https://discord.com/channels/940758552425955348/1162793245194072074/1195448092665847831 after i helped fix the circular issue.

Discord_X6qa46wWGP

nwjgit avatar Feb 02 '24 05:02 nwjgit