Skip to content

Commit

Permalink
more discord username woes
Browse files Browse the repository at this point in the history
  • Loading branch information
lmaotrigine committed Jul 29, 2024
1 parent 7c2353c commit bfe176a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
ContextT = TypeVar('ContextT', bound=Context)

DESCRIPTION = """
Hello! I'm a bot written by VJ#5945 to provide some nice utilities.
Hello! I'm a bot written by @5ht2 to provide some nice utilities.
"""

log = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion cogs/emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ async def get_emoji_stats(self, ctx: GuildContext, emoji_id: int) -> None:
async with ctx.session.get(cdn) as resp:
if resp.status == 404:
e.description = "This isn't a valid emoji."
e.set_thumbnail(url='https://vj.is-very.moe/09e106.jpg')
e.set_thumbnail(url='https://isis.is-very.moe/09e106.jpg')
await ctx.send(embed=e)
return

Expand Down
2 changes: 1 addition & 1 deletion cogs/manga.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async def select(self, interaction: discord.Interaction, item: discord.ui.Select
async def follow(self, interaction: discord.Interaction, _) -> None:
assert interaction.user is not None
if not await self.bot.is_owner(interaction.user):
raise commands.CheckFailure("You can't follow manga unless you're VJ.")
raise commands.CheckFailure("You can't follow manga unless you're isis.")

assert self.manga_id is not None
await self.bot.manga_client.follow_manga(self.manga_id)
Expand Down
4 changes: 2 additions & 2 deletions cogs/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def ensure_user(user: discord.Member | None) -> discord.Member:
original = user.display_name
async with self.bot.session.get('https://api.5ht2.me/decancer', params={'text': original}) as resp:
if resp.status != 200:
await ctx.send(f'Something went wrong with the API. Tell VJ: {await resp.text()}')
await ctx.send(f'Something went wrong with the API. Tell isis: {await resp.text()}')
return
js = await resp.json()
decancered = js['decancered']
Expand Down Expand Up @@ -943,7 +943,7 @@ async def join(self, ctx: Context) -> None:
r = """
[Support](https://discord.gg/s44CFagYN2)
Ask VJ.
Ask isis.
(Use the link in the profile if your server has more than 10 members and less bots than humans.)
"""
Expand Down
2 changes: 1 addition & 1 deletion dashboard/routes/pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ class NotGonnaHappen(BasePage, abc.ABC):
async def get(self) -> None:
self.set_header('Content-Type', 'text/plain; charset=utf-8')
await self.finish(
"you don't have a token, ask VJ. tokens are one time use, so if you had one and used it you'll need to apply for another"
"you don't have a token, ask isis. tokens are one time use, so if you had one and used it you'll need to apply for another"
)
2 changes: 1 addition & 1 deletion utils/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def convert(cls: Type[Self], ctx: Context, argument: str) -> Self:
except Exception:
raise commands.BadArgument('Not a valid URL.')

headers = {'User-Agent': 'Discord:Ayaka:v1.0 (by VJ#5945)'}
headers = {'User-Agent': 'Discord:Ayaka:v1.0 (by @5ht2)'}
await ctx.typing()
if url.host == 'v.redd.it':
# have to do a request to fetch the 'main' URL.
Expand Down

0 comments on commit bfe176a

Please sign in to comment.