Setting up Dalmatian
Code Editor Setup
We recommend using VSCode, and the following setup guide will assume you are using VSCode.
Recommended VSCode extensions:
- VSCode has builtin TypeScript language support
- Dependi
- Biome
- Oxc
- Typescript (Native Preview)
You will also need git installed.
Creating your .env file
Rename or copy .env.example into .env.
Create a new Discord bot or use one of your current ones.
In your application, under the Bot tab, reset your token and copy the token for DISCORD_TOKEN
Under the OAuth2 tab, grab the client ID for DISCORD_CLIENT_ID
The bot will work fine with only the DISCORD_TOKEN and DISCORD_CLIENT_ID keys.
Optionally, add GOOGLE_MAPS_API_KEY to .env to debug formatLocation in dining.ts (falls back from Vault to .env).
- Head to Google Cloud Console and create a new project.
- In
APIs & Services, enable theMaps Javascript APIandMaps Static APIproducts. - Get a key from
Keys & Credentialsto input intoGOOGLE_MAPS_API_KEY.