Skip to content

Commit 4ac94f2

Browse files
Adjust contributing examples
Agent-Logs-Url: https://github.com/CSSUoB/TeX-Bot-Py-V2/sessions/9b0f58a5-8242-47a5-9226-548cda2938f0 Co-authored-by: MattyTheHacker <18513864+MattyTheHacker@users.noreply.github.com>
1 parent 260d5a9 commit 4ac94f2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ To create a new cog, follow these steps:
231231
class ExampleCog(TeXBotBaseCog):
232232
"""A cog for demonstrating functionality."""
233233

234-
def do_something(self, input_text: str) -> None:
234+
def do_something(self, message: str) -> None:
235235
"""Perform a simple action."""
236-
print(f"Doing something with {input_text}.")
236+
print(f"Doing something with {message}.")
237237
```
238238

239239
3. Add Commands and Listeners
@@ -278,7 +278,7 @@ To create a new cog, follow these steps:
278278
```python
279279
from .example_commands import ExampleCog
280280

281-
__all__: "Sequence[str]" = (
281+
__all__: Sequence[str] = (
282282
...existing cogs...
283283
"ExampleCog",
284284
)

0 commit comments

Comments
 (0)