Skip to content

Commit 601a1bc

Browse files
committed
chore: migrate bot example to dedicated repository
1 parent 7eb063e commit 601a1bc

11 files changed

Lines changed: 7 additions & 332 deletions

File tree

.editorconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,5 @@ trim_trailing_whitespace = true
1111
[*.md]
1212
trim_trailing_whitespace = false
1313

14-
[*.py]
15-
max_line_length = 88
16-
1714
[*.{yml,yaml}]
1815
indent_size = 2

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "examples/disnake-faceit-bot"]
2+
path = examples/disnake-faceit-bot
3+
url = https://github.com/zombyacoff/disnake-faceit-bot

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ See additional usage examples in the [examples/](examples/) directory.
8585

8686
You can provide your API key directly in the constructor or let the library automatically load it from your environment.
8787

88-
- **Automatic:** Set the `FACEIT_API_KEY` environment variable.
89-
> *Requires `faceit[env]` extra dependency or manual [python-decouple](https://github.com/HBNetwork/python-decouple) installation.*
88+
- **Automatic:** Set the `FACEIT_API_KEY` environment variable.
89+
Requires `faceit[env]` extra dependency or manual [python-decouple](https://github.com/HBNetwork/python-decouple) installation.
9090
- **Manual:** Pass the key string directly: `SyncDataResource("YOUR_API_KEY")`.
9191
- **Custom Variable:** To use a different environment variable name, pass an instance of `FromEnv`: `SyncDataResource(FromEnv("SECRET"))`
9292

examples/__init__.py

Whitespace-only changes.

examples/discord_bot/__init__.py

Whitespace-only changes.

examples/discord_bot/__main__.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

examples/discord_bot/analysis.py

Lines changed: 0 additions & 87 deletions
This file was deleted.

examples/discord_bot/bot.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

examples/discord_bot/cogs.py

Lines changed: 0 additions & 191 deletions
This file was deleted.

examples/disnake-faceit-bot

Submodule disnake-faceit-bot added at cc6146a

0 commit comments

Comments
 (0)