Migrate to TypeScript, minor changes and fixes (#46)
* docs: linting, require bun for ts * rf: js -> ts * chore: bump * docs: add ts badge * chore: bump types * fix: add types for context to animal commands * [m] hf: add bot type * fix/types: add bot, ctx types, fix emoji on /dice cmd, add todo * fix/types: bot admin checking fixes, other misc fixes, add types --------- Co-authored-by: Lucas Gabriel <lucmsilva651@gmail.com>
This commit is contained in:
parent
6fd5652afa
commit
07045d8e09
32 changed files with 550 additions and 325 deletions
|
@ -1,12 +0,0 @@
|
|||
# links for source and privacy
|
||||
botPrivacy = "https://blog.lucmsilva.com/posts/lynx-privacy-policy"
|
||||
botSource = "https://github.com/ABOCN/TelegramBot"
|
||||
|
||||
# insert token here
|
||||
botToken = ""
|
||||
|
||||
# misc (botAdmins isnt a array here!)
|
||||
maxRetries = 9999
|
||||
botAdmins = 00000000, 00000000, 00000000
|
||||
lastKey = "InsertYourLastFmApiKeyHere"
|
||||
weatherKey = "InsertYourWeatherDotComApiKeyHere"
|
Loading…
Add table
Add a link
Reference in a new issue