Skip to content

Commit b0bfa9b

Browse files
authoredFeb 19, 2025··
Merge pull request #20 from WrichikBasu/dev
Show current number instead of next number
2 parents 7c77a3c + 7530627 commit b0bfa9b

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed
 

‎.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ ipython_config.py
9999
# This is especially recommended for binary packages to ensure reproducibility, and is more
100100
# commonly ignored for libraries.
101101
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102-
#poetry.lock
102+
poetry.lock
103103

104104
# pdm
105105
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.

‎main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async def on_ready(self) -> None:
132132
emb.description += (f'\n\n:fire: Let\'s beat the high score of {self._config.high_score}! '
133133
f':muscle:\n')
134134

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

137137
if self._config.current_member_id:
138138

‎pyproject.toml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[tool.poetry]
2+
name = "counting_bot_indently"
3+
version = "1.0.0"
4+
description = "Counting bot for the Indently Discord server!"
5+
authors = ["Guanciottaman <113635544+guanciottaman@users.noreply.github.com>", "Wrichik Basu <56736644+WrichikBasu@users.noreply.github.com>"]
6+
license = "MIT"
7+
readme = "README.md"
8+
9+
[tool.poetry.dependencies]
10+
python = "^3.12"
11+
"discord.py" = "^2.3.2"
12+
python-dotenv = "^1.0.1"
13+
14+
15+
[build-system]
16+
requires = ["poetry-core"]
17+
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)
Please sign in to comment.