Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/ooliver1/botbase
Browse files Browse the repository at this point in the history
  • Loading branch information
ooliver1 committed Jun 4, 2022
2 parents fa042d9 + 26cd7c2 commit c1459bb
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 58 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Build and publish the package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
Expand Down
43 changes: 21 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,41 @@
# I'm Sorry
# botbase

I wish you luck in trying to use this.
Future me or anyone
This is a botbase project for [nextcord](https://github.com/nextcord/nextcord) Discord Python bots to reduce boilerplate.

## Oh yeah the config
## Config values

db_enabled: bool default True
`db_enabled: bool` default `True`

db_url: str either this or name
`db_url: str` either this or name

db_name: str either this or url
`db_name: str` either this or url

db_user: str default "ooliver"
`db_user: str` default `"ooliver"`

db_host str default "localhost"
`db_host str` default `"localhost"`

version: str default "0.0.0"
`version: str` default `"0.0.0"`

aiohttp_enabled: bool default True
`aiohttp_enabled: bool` default `True`

colors: list[int] default [0x9966CC]
`colors: list[int]` default `[0x9966CC]`

blacklist_enabled: bool default True
`blacklist_enabled: bool` default `True`

prefix: str | list[str]
`prefix: str | list[str]`

helpmsg: str default defaulthelpmsg
`helpmsg: str` default [`defaulthelpmsg`](https://github.com/ooliver1/botbase/blob/main/botbase/botbase.py#L38-L47)

helpindex: str default defaulthelpindex
`helpindex: str` default [`defaulthelpindex`](https://github.com/ooliver1/botbase/blob/main/botbase/botbase.py#L48-L50)

helptitle: str default "Help Me!"
`helptitle: str` default `"Help Me!"`

helpfields: dict[str, str] default {}
`helpfields: dict[str, str]` default `{}`

helpinsert: str default ""
`helpinsert: str` default `""`

emojiset: Emojis[str, str] default Emojis()
`emojiset: Emojis[str, str]` default `Emojis()`

logchannel: int default None
`logchannel: int` default `None`

guild_ids list[int] default None
`guild_ids: list[int]` default `None`
70 changes: 35 additions & 35 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c1459bb

Please sign in to comment.