Skip to content

Commit

Permalink
Merge pull request #20 from WrichikBasu/dev
Browse files Browse the repository at this point in the history
Show current number instead of next number
  • Loading branch information
guanciottaman authored Feb 19, 2025
2 parents 7c77a3c + 7530627 commit b0bfa9b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ ipython_config.py
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock
poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async def on_ready(self) -> None:
emb.description += (f'\n\n:fire: Let\'s beat the high score of {self._config.high_score}! '
f':muscle:\n')

emb.add_field(name='NEXT number', value=f'{self._config.current_count + 1}', inline=True)
emb.add_field(name='CURRENT number', value=f'{self._config.current_count}', inline=True)

if self._config.current_member_id:

Expand Down
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[tool.poetry]
name = "counting_bot_indently"
version = "1.0.0"
description = "Counting bot for the Indently Discord server!"
authors = ["Guanciottaman <113635544+guanciottaman@users.noreply.github.com>", "Wrichik Basu <56736644+WrichikBasu@users.noreply.github.com>"]
license = "MIT"
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.12"
"discord.py" = "^2.3.2"
python-dotenv = "^1.0.1"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit b0bfa9b

Please sign in to comment.