Skip to content

Commit

Permalink
Use Zebra app emoji for all Zebra buttons (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelomer authored Oct 13, 2024
1 parent 3d3554d commit 5b38f6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions utils/views/menus/canister.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def refresh_button_state(self):
extra_buttons = [
discord.ui.Button(label='Add Repo to Sileo', emoji="<:sileo:679466569407004684>",
url=f'https://repos.slim.rocks/repo/?repoUrl={self.ctx.repo}&manager=sileo', style=discord.ButtonStyle.url, row=1),
discord.ui.Button(label='Add Repo to Zebra', emoji="🦓",
discord.ui.Button(label='Add Repo to Zebra', emoji="<:Zeeb:959129860603801630>",
url=f'https://repos.slim.rocks/repo/?repoUrl={self.ctx.repo}&manager=zebra', style=discord.ButtonStyle.url, row=1),
discord.ui.Button(label='Other Package Managers', emoji="<:Add:947354227171262534>",
url=f'https://repos.slim.rocks/repo/?repoUrl={self.ctx.repo}', style=discord.ButtonStyle.url, row=1)
Expand All @@ -128,7 +128,7 @@ def refresh_button_state(self):
extra_buttons = [
discord.ui.Button(label='Cannot add default repo', emoji="<:sileo:679466569407004684>",
url=f'https://repos.slim.rocks/repo/?repoUrl={self.ctx.repo}&manager=sileo', disabled=True, style=discord.ButtonStyle.url, row=1),
discord.ui.Button(label='Cannot add default repo', emoji="🦓",
discord.ui.Button(label='Cannot add default repo', emoji="<:Zeeb:959129860603801630>",
url=f'https://repos.slim.rocks/repo/?repoUrl={self.ctx.repo}&manager=zebra', disabled=True, style=discord.ButtonStyle.url, row=1),
discord.ui.Button(label='Cannot add default repo', emoji="<:Add:947354227171262534>",
url=f'https://repos.slim.rocks/repo/?repoUrl={self.ctx.repo}', style=discord.ButtonStyle.url, disabled=True, row=1)
Expand Down Expand Up @@ -256,7 +256,7 @@ def generate_buttons(self, entry):
extra_buttons = [
discord.ui.Button(label='Add Repo to Sileo', emoji="<:sileo:679466569407004684>",
url=f'https://repos.slim.rocks/repo/?repoUrl={repo}&manager=sileo', style=discord.ButtonStyle.url),
discord.ui.Button(label='Add Repo to Zebra', emoji="🦓",
discord.ui.Button(label='Add Repo to Zebra', emoji="<:Zeeb:959129860603801630>",
url=f'https://repos.slim.rocks/repo/?repoUrl={repo}&manager=zebra', style=discord.ButtonStyle.url),
discord.ui.Button(label='Other Package Managers', emoji="<:Add:947354227171262534>",
url=f'https://repos.slim.rocks/repo/?repoUrl={repo}', style=discord.ButtonStyle.url)
Expand All @@ -265,7 +265,7 @@ def generate_buttons(self, entry):
extra_buttons = [
discord.ui.Button(label='Cannot add default repo', emoji="<:sileo:679466569407004684>",
url=f'https://repos.slim.rocks/repo/?repoUrl={repo}&manager=sileo', disabled=True, style=discord.ButtonStyle.url),
discord.ui.Button(label='Cannot add default repo', emoji="🦓",
discord.ui.Button(label='Cannot add default repo', emoji="<:Zeeb:959129860603801630>",
url=f'https://repos.slim.rocks/repo/?repoUrl={repo}&manager=zebra', disabled=True, style=discord.ButtonStyle.url),
discord.ui.Button(label='Cannot add default repo', emoji="<:Add:947354227171262534>",
url=f'https://repos.slim.rocks/repo/?repoUrl={repo}', disabled=True, style=discord.ButtonStyle.url)
Expand Down

0 comments on commit 5b38f6e

Please sign in to comment.