Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wfxey authored Sep 24, 2024
1 parent 03a71c7 commit aeadd2f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,10 @@ def __init__(self):

async def callback(self, interaction: discord.Interaction):
selected_help = self.values[0]
di_bot_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/Discord-Bot/wiki")
diec_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/diec")
destor_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/destor")
discordbotmanager_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/DiscordBotManager/wiki")
di_bot_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/Discord-Bot/wiki")
diec_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/diec")
destor_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/destor")
discordbotmanager_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/DiscordBotManager/wiki")
if selected_help == "D&I Bot":
await interaction.response.send_message(f"Here you can read the Wiki of our [Discord Bot](https://github.com/D-I-Projects/Discord-Bot/wiki)!", view=di_bot_button, ephemeral=True)
elif selected_help == "diec":
Expand Down Expand Up @@ -348,11 +348,11 @@ def __init__(self):

async def callback(self, interaction: discord.Interaction):
selected_important = self.values[0]
terms_of_service_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/Discord-Bot/blob/main/terms_of_service.md")
privacy_policy_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/Discord-Bot/blob/main/privacy_policy.md")
github_page_button = link_button(text="Open 📩" , link="https://github.com/D-I-Projects/Discord-Bot")
discord_join_button = link_button(text="Join 📩", link="https://discord.gg/5NDYmBVdSA")
version_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/Discord-Bot/releases/tag/v24.9.24")
terms_of_service_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/Discord-Bot/blob/main/terms_of_service.md")
privacy_policy_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/Discord-Bot/blob/main/privacy_policy.md")
github_page_button = link_button(text="Open 📩" , link="https://github.com/D-I-Projects/Discord-Bot")
discord_join_button = link_button(text="Join 📩", link="https://discord.gg/5NDYmBVdSA")
version_button = link_button(text="Show 📩", link="https://github.com/D-I-Projects/Discord-Bot/releases/tag/v24.9.24")
if selected_important == "Terms of Service":
await interaction.response.send_message(f"Here you can take a look at our [Terms of Service](https://github.com/D-I-Projects/Discord-Bot/blob/main/terms_of_service.md)!", view=terms_of_service_button, ephemeral=True)
elif selected_important == "Privacy Policy":
Expand Down

0 comments on commit aeadd2f

Please sign in to comment.