diff options
Diffstat (limited to 'src/bot.rs')
| -rw-r--r-- | src/bot.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -364,6 +364,11 @@ fn after_handle(ctx: PoiseContext) -> BoxFuture<()> { } pub async fn run() -> anyhow::Result<()> { + #[cfg(all(windows, feature = "windows_autostart_postgres"))] + unsafe { + crate::windows_util::ensure_postgres_started()?; + }; + let token = &CONFIG.discord.auth.token; let sb_config = songbird::Config::default(); |
