Skip to content

Commit

Permalink
Big UI update and bug fix (#423)
Browse files Browse the repository at this point in the history
* Update book.js

* Update chrome.css

* Update general.css

* Update breadcrumbs.css

* Update discord-messages.css

* Update root.css

* Update index.hbs

* Update day.md

* Update getTimestamp.md

* Update getTimestamp.md

* Update second.md

* Update minute.md

* Update aiQuota.md

* Update aiQuota.md

* Update breadcrumbs.css

* Update SUMMARY.md

* Update chrome.css

* Update getBotInvite.md

* Update discord-messages.css

* Update chrome.css

* Update breadcrumbs.css

* Update book.toml

* Update discord-messages.css

* Update src/theme/book.js

Co-authored-by: Bartłomiej Skoczeń <bartek_skoczen@protonmail.com>

* Update src/theme/book.js

Co-authored-by: Bartłomiej Skoczeń <bartek_skoczen@protonmail.com>

* Update src/theme/book.js

Co-authored-by: Bartłomiej Skoczeń <bartek_skoczen@protonmail.com>

* Update src/theme/book.js

Co-authored-by: Bartłomiej Skoczeń <bartek_skoczen@protonmail.com>

---------

Co-authored-by: Bartłomiej Skoczeń <bartek_skoczen@protonmail.com>
  • Loading branch information
Rainb0wKey and MineBartekSA authored Jul 31, 2024
1 parent ee17009 commit 873e096
Show file tree
Hide file tree
Showing 15 changed files with 276 additions and 131 deletions.
1 change: 0 additions & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ preferred-dark-theme = "bdfd"
smart-punctuation = true
git-repository-url = "https://github.com/NilPointer-Software/bdfd-wiki"
edit-url-template = "https://github.com/NilPointer-Software/bdfd-wiki/edit/dev/{path}"
site-url = "/bdfd-wiki/"

[output.html.fold]
enable = true
Expand Down
1 change: 1 addition & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@
- [$serverVerificationLvl](./bdscript/serverVerificationLvl.md)
- [$setChannelVar](./bdscript/setChannelVar.md)
- [$setServerVar](./bdscript/setServerVar.md)
- [$setUserRoles](./bdscript/setUserRoles.md)
- [$setUserVar](./bdscript/setUserVar.md)
- [$setVar](./bdscript/setVar.md)
- [$shardID](./bdscript/shardID.md)
Expand Down
4 changes: 3 additions & 1 deletion src/bdscript/day.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ Today Is: $day
color: "#748BD4"
bot: true
content: |
Today Is: 22
<div id="day"></div>
```

<script src="../theme/livetime.js"></script>
4 changes: 2 additions & 2 deletions src/bdscript/getBotInvite.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Invite Me! $getBotInvite
color: "#E67E22"
content: |
!example
- user_id: 1009018156494368798
username: Invate this bot
- user_id: 390515191819010058
username: kubastick
color: "#378afa"
bot: true
content: |
Expand Down
21 changes: 19 additions & 2 deletions src/bdscript/getTimestamp.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,25 @@ $getTimestamp
## Example
```
$nomention
Unix Timestamp: $getTimestamp
$getTimestamp
```

```discord yaml
- user_id: 803569638084313098
username: RainbowKey
color: "#E67E22"
content: |
!example
- user_id: 1009018156494368798
username: BDFD Support
color: "#378afa"
bot: true
verified: true
content: |
<div id="unix"></div>
```
![example](https://user-images.githubusercontent.com/69215413/125980242-02e20d79-3cb6-45c0-b9d8-07da4844eb89.png)


> 📄 For more info about UNIX timestamps on Discord click [here](../resources/discordTimestamps.md).
<script src="../theme/livetime.js"></script>
17 changes: 16 additions & 1 deletion src/bdscript/minute.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,19 @@ $nomention
Current Minute: $minute
```

![example](https://user-images.githubusercontent.com/69215413/126917486-51178d92-5e5c-4d44-95b0-5f78c27d11c9.png)
```discord yaml
- user_id: 803569638084313098
username: RainbowKey
color: "#E67E22"
content: |
!example
- user_id: 1009018156494368798
username: BDFD Support
color: "#378afa"
bot: true
verified: true
content: |
<div id="minute"></div>
```

<script src="../theme/livetime.js"></script>
17 changes: 16 additions & 1 deletion src/bdscript/second.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,19 @@ $nomention
Current Second: $second
```

![example](https://user-images.githubusercontent.com/69215413/122828969-58c23180-d2b4-11eb-8b83-b20f6969fa6f.png)
```discord yaml
- user_id: 803569638084313098
username: RainbowKey
color: "#E67E22"
content: |
!example
- user_id: 1009018156494368798
username: BDFD Support
color: "#378afa"
bot: true
verified: true
content: |
<div id="second"></div>
```

<script src="../theme/livetime.js"></script>
2 changes: 1 addition & 1 deletion src/premium/aiQuota.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Remaining tokens: $aiQuota

> New tokens will be awarded and summed up every 24 hours!
>
> Token limit (per bot): 2500 (Can be expanded over time)
> Token limit (per bot): 5000 *(20000 characters)*
Loading

0 comments on commit 873e096

Please sign in to comment.