Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions techsupport_bot/commands/duck.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,15 @@ class DuckHunt(cogs.LoopCog):
"""

DUCK_PIC_URL: str = (
"https://cdn.icon-icons.com/icons2/1446/PNG/512/22276duck_98782.png"
"https://www.iconarchive.com/download/i107380/google/"
+ "noto-emoji-animals-nature/22276-duck.512.png"
)
BEFRIEND_URL: str = (
"https://cdn.icon-icons.com/icons2/603/PNG/512/"
+ "heart_love_valentines_relationship_dating_date_icon-icons.com_55985.png"
"https://upload.wikimedia.org/wikipedia/commons/thumb/"
+ "f/fb/Noto_Emoji_v2.034_2665.svg/512px-Noto_Emoji_v2.034_2665.svg.png"
)
KILL_URL: str = (
"https://cdn.icon-icons.com/icons2/1919/PNG/512/huntingtarget_122049.png"
"https://www.iconarchive.com/download/i97188/iconsmind/outline/Target.512.png"
)
ON_START: bool = False
CHANNELS_KEY: str = "hunt_channels"
Expand Down
3 changes: 2 additions & 1 deletion techsupport_bot/commands/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ class Googler(cogs.BaseCog):
"https://www.googleapis.com/youtube/v3/search?part=id&maxResults=10"
)
ICON_URL: str = (
"https://cdn.icon-icons.com/icons2/673/PNG/512/Google_icon-icons.com_60497.png"
"https://upload.wikimedia.org/wikipedia/commons/thumb/c/"
+ "c1/Google_%22G%22_logo.svg/768px-Google_%22G%22_logo.svg.png"
)

async def get_items(
Expand Down
3 changes: 2 additions & 1 deletion techsupport_bot/commands/hug.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ class Hugger(cogs.BaseCog):
"{user_giving_hug} went to hug {user_to_hug} but missed and ran into the wall instead",
]
ICON_URL: str = (
"https://cdn.icon-icons.com/icons2/1648/PNG/512/10022huggingface_110042.png"
"https://upload.wikimedia.org/wikipedia/commons/thumb/a/"
+ "a5/Noto_Emoji_Oreo_1f917.svg/768px-Noto_Emoji_Oreo_1f917.svg.png"
)

@auxiliary.with_typing
Expand Down
4 changes: 2 additions & 2 deletions techsupport_bot/commands/ipinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class IPInfo(cogs.BaseCog):

API_URL: str = "https://ipinfo.io"
IP_ICON_URL: str = (
"https://cdn.icon-icons.com/icons2/1858/PNG/512/"
"iconfinder-dedicatedipaddress-4263513_117864.png"
"https://www.iconarchive.com/download/i43033/oxygen-icons.org"
"/oxygen/Categories-applications-internet.256.png"
)

@commands.command(
Expand Down
5 changes: 4 additions & 1 deletion techsupport_bot/commands/iss.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ async def iss(self: Self, ctx: commands.Context) -> None:
value="https://spotthestation.nasa.gov/tracking_map.cfm",
)
embed.set_thumbnail(
url="https://cdn.icon-icons.com/icons2/1389/PNG/512/internationalspacestation_96150.png"
url=(
"https://www.iconarchive.com/download/i106861/goodstuff-no-nonsense/"
"free-space/international-space-station.512.png"
)
)
embed.color = discord.Color.darker_gray()

Expand Down
4 changes: 2 additions & 2 deletions techsupport_bot/commands/poll.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ async def validate_data(
if not strawpoll:
if not image_url or not isinstance(image_url, str):
request_body.image_url = (
"https://cdn.icon-icons.com/icons2"
"/259/PNG/128/ic_poll_128_28553.png"
"https://www.iconarchive.com/download/i6231/"
"custom-icon-design/pretty-office-6/polls.256.png"
)

if not timeout or not isinstance(timeout, int):
Expand Down
6 changes: 3 additions & 3 deletions techsupport_bot/commands/protect.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ class Protector(cogs.MatchCog):
"""

ALERT_ICON_URL: str = (
"https://cdn.icon-icons.com/icons2/2063/PNG/512/"
+ "alert_danger_warning_notification_icon_124692.png"
"https://www.iconarchive.com/download/i76061/martz90/circle-addon2/warning.512.png"
)
CLIPBOARD_ICON_URL: str = (
"https://icon-icons.com/icons2/203/PNG/128/diagram-30_24487.png"
"https://www.iconarchive.com/download/i107916/"
"google/noto-emoji-objects/62930-clipboard.512.png"
)
CHARS_PER_NEWLINE: int = 80

Expand Down
2 changes: 1 addition & 1 deletion techsupport_bot/commands/relay.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def generate_sent_message_embed(
Returns:
discord.Embed: The embed prepared and ready to send
"""
ICON_URL = "https://cdn.icon-icons.com/icons2/1508/PNG/512/ircchat_104581.png"
ICON_URL = "https://www.iconarchive.com/download/i94994/mahm0udwally/all-flat/Chat.256.png"

embed = discord.Embed()
embed.set_author(
Expand Down
2 changes: 1 addition & 1 deletion techsupport_bot/commands/roll.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Roller(cogs.BaseCog):
"""

ICON_URL: str = (
"https://cdn.icon-icons.com/icons2/1465/PNG/512/678gamedice_100992.png"
"https://www.iconarchive.com/download/i43702/iconcubic/dnd-dice/d20.128.png"
)

@auxiliary.with_typing
Expand Down
3 changes: 1 addition & 2 deletions techsupport_bot/commands/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ class Rules(cogs.BaseCog):
"""

RULE_ICON_URL: str = (
"https://cdn.icon-icons.com/icons2/907/PNG"
"/512/balance-scale-of-justice_icon-icons.com_70554.png"
"https://www.iconarchive.com/download/i96945/iconsmind/outline/Scale.512.png"
)

@commands.group(name="rule")
Expand Down
4 changes: 3 additions & 1 deletion techsupport_bot/commands/urban.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ class UrbanDictionary(cogs.BaseCog):

BASE_URL: str = "http://api.urbandictionary.com/v0/define?term="
SEE_MORE_URL: str = "https://www.urbandictionary.com/define.php?term="
ICON_URL: str = "https://cdn.icon-icons.com/icons2/114/PNG/512/dictionary_19159.png"
ICON_URL: str = (
"https://www.iconarchive.com/download/i79897/dtafalonso/ios7-desktop/Dictionary.256.png"
)

@auxiliary.with_typing
@commands.command(
Expand Down
4 changes: 2 additions & 2 deletions techsupport_bot/commands/weather.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ def generate_embed(self: Self, response: munch.Munch) -> discord.Embed | None:
embed.add_field(name="Humidity", value=f"{int(response.main.humidity)} %")
embed.set_thumbnail(
url=(
"https://cdn.icon-icons.com/icons2/8/PNG/256/cloudyweather_cloud_"
"inpart_day_wind_thunder_sunny_rain_darkness_nublad_1459.png"
"https://www.iconarchive.com/download/i76758"
"/pixelkit/flat-jewels/Weather.512.png"
)
)
embed.color = discord.Color.blurple()
Expand Down
2 changes: 1 addition & 1 deletion techsupport_bot/commands/wolfram.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Wolfram(cogs.BaseCog):

API_URL: str = "http://api.wolframalpha.com/v1/result?appid={}&i={}"
ICON_URL: str = (
"https://cdn.icon-icons.com/icons2/2107/PNG/512/file_type_wolfram_icon_130071.png"
"https://images.seeklogo.com/logo-png/42/1/mathematica-logo-png_seeklogo-428539.png"
)

@auxiliary.with_typing
Expand Down
2 changes: 1 addition & 1 deletion techsupport_bot/tests/config_for_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
def rand_history(
draw: (
Callable[[SearchStrategy[int, int]], int] | Callable[[SearchStrategy[str]], str]
)
),
) -> list[MockMessage]:
"""This is a custom strategy to generate a random message history
This history, returned as an array, will be 1 to 50 messages of random content
Expand Down
2 changes: 1 addition & 1 deletion techsupport_bot/ui/appnotice.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AppNotice(discord.ui.View):
"""

ICON: str = (
"https://icon-icons.com/downloadimage.php?id=14692&root=80/PNG/256/&file=help_15418.png"
"https://www.iconarchive.com/download/i43645/treetog/junior/help.256.png"
)

async def send(self: Self, channel: discord.abc.Messageable, message: str) -> None:
Expand Down
Loading