Skip to content

Commit

Permalink
beerpiss -> beer-psi
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-psi committed Jul 24, 2024
1 parent f5e14fc commit d556ad1
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## chuninewbot

[![Deploy](https://github.com/beerpiss/chuninewbot/actions/workflows/deploy.yaml/badge.svg)](https://github.com/beerpiss/chuninewbot/actions/workflows/deploy.yaml)
[![Deploy](https://github.com/beer-psi/chuninewbot/actions/workflows/deploy.yaml/badge.svg)](https://github.com/beer-psi/chuninewbot/actions/workflows/deploy.yaml)
[![State-of-the-art Shitcode](https://img.shields.io/static/v1?label=State-of-the-art&message=Shitcode&color=7B5804)](https://github.com/trekhleb/state-of-the-art-shitcode)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

Expand Down Expand Up @@ -35,7 +35,7 @@ though uptime is sometimes flaky.
4. Run `python dbutils.py update chunirec` to populate the song database. For
this to work, `credentials.chunirec_token` **must** be set in `bot.ini`. A
pre-populated database is also provided
[here](https://nightly.link/beerpiss/chuninewbot/workflows/test_creating_db.yaml/trunk/database.zip),
[here](https://nightly.link/beer-psi/chuninewbot/workflows/test_creating_db.yaml/trunk/database.zip),
for your convenience.
5. `python bot.py`

Expand All @@ -52,11 +52,11 @@ make:
from [lomotos10](https://github.com/lomotos10)
- [Tukkun](https://github.com/tukkun1995) for breaking my bot in unthinkable
ways (aside from being
[a contributor](https://github.com/beerpiss/chuninewbot/pulls?q=is%3Apr+author%3Atukkun1995+)),
[a contributor](https://github.com/beer-psi/chuninewbot/pulls?q=is%3Apr+author%3Atukkun1995+)),
as well as taking the time to add all the song aliases.

Thanks to all the
[contributors](https://github.com/beerpiss/chuninewbot/graphs/contributors) who
[contributors](https://github.com/beer-psi/chuninewbot/graphs/contributors) who
took part.

<details>
Expand All @@ -70,4 +70,4 @@ or directly if you live in Vietnam:

Thank you to everyone who donated:
- [Tukkun](https://github.com/tukkun1995)
</details>
</details>
2 changes: 1 addition & 1 deletion bot.example.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ token = <your bot token>

# Login server base URL.
#
# Required if you use the default login script (https://gist.github.com/beerpiss/0eb8d3e50ae753388a6d4a4af5678a2e).
# Required if you use the default login script (https://gist.github.com/beer-psi/0eb8d3e50ae753388a6d4a4af5678a2e).
# If you provide a custom implementation, this is not needed.
# Do not have a trailing slash.
# base_url = https://example.com
Expand Down
6 changes: 3 additions & 3 deletions cogs/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async def source(self, ctx: Context):
reply = (
"https://tenor.com/view/metal-gear-rising-metal-gear-rising-revengeance-senator-armstrong-revengeance-i-made-it-the-fuck-up-gif-25029602"
if random() < 0.1
else "<https://github.com/beerpiss/chuninewbot>"
else "<https://github.com/beer-psi/chuninewbot>"
)

await ctx.reply(reply, mention_author=False)
Expand Down Expand Up @@ -106,8 +106,8 @@ async def botinfo(self, ctx: Context):
embed.add_field(
name="About the bot",
value=(
"This is [chuninewbot](https://github.com/beerpiss/chuninewbot), a Discord bot created by "
"[beerpsi](https://github.com/beerpiss) and [contributors](https://github.com/beerpiss/chuninewbot/graphs/contributors) "
"This is [chuninewbot](https://github.com/beer-psi/chuninewbot), a Discord bot created by "
"[beerpsi](https://github.com/beer-psi) and [contributors](https://github.com/beer-psi/chuninewbot/graphs/contributors) "
"for CHUNITHM International version."
),
inline=False,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "chuninewbot"
version = "0.2.3"
description = ""
authors = ["beerpiss <lacvtg.a1.2023@gmail.com>"]
authors = ["beer-psi <lacvtg.a1.2023@gmail.com>"]
license = "0BSD"
package-mode = false

Expand Down
5 changes: 3 additions & 2 deletions utils/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ async def send_bot_help(
.set_author(
name=f"Command list for {bot.user.display_name}:",
icon_url=bot.user.avatar.url if bot.user.avatar else None,
).set_footer( # type: ignore[reportGeneralTypeIssues]
text=f"Use {prefix}help <command> for more info on a command.\nSource code: https://github.com/beerpiss/chuninewbot"
)
.set_footer( # type: ignore[reportGeneralTypeIssues]
text=f"Use {prefix}help <command> for more info on a command.\nSource code: https://github.com/beer-psi/chuninewbot"
)
)
description = ""
Expand Down
4 changes: 2 additions & 2 deletions utils/views/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ def __init__(
self, ctx: Context, code: str | None = None, server: str | None = None
):
if code is not None and server is not None:
self.script = "javascript:void(function(d){var s=d.createElement('script');s.src='https://gistcdn.githack.com/beerpiss/0eb8d3e50ae753388a6d4a4af5678a2e/raw/ede9859c40741d4dad49a035857b30a3e21c5dce/login.js' ;d.body.append(s)}(document))\n"
self.script = "javascript:void(function(d){var s=d.createElement('script');s.src='https://gistcdn.githack.com/beer-psi/0eb8d3e50ae753388a6d4a4af5678a2e/raw/ede9859c40741d4dad49a035857b30a3e21c5dce/login.js' ;d.body.append(s)}(document))\n"
fragment = f"#otp={code}&server={server}"
else:
self.script = "javascript:void(function(d){var s=d.createElement('script');s.src='https://gistcdn.githack.com/beerpiss/0eb8d3e50ae753388a6d4a4af5678a2e/raw/c096f619a3a207b99a0cbb63e1d214a7b1af4f28/login2.js' ;d.body.append(s)}(document))\n"
self.script = "javascript:void(function(d){var s=d.createElement('script');s.src='https://gistcdn.githack.com/beer-psi/0eb8d3e50ae753388a6d4a4af5678a2e/raw/c096f619a3a207b99a0cbb63e1d214a7b1af4f28/login2.js' ;d.body.append(s)}(document))\n"
fragment = ""

items = [
Expand Down

0 comments on commit d556ad1

Please sign in to comment.