remove hardcoded guild storage.

This commit is contained in:
vel 2021-07-13 12:36:23 -07:00
parent 9af0a24281
commit 66b3894d87
Signed by: velvox
GPG Key ID: 1C8200C1D689CEF5
1 changed files with 2 additions and 1 deletions

3
fs.go
View File

@ -15,7 +15,8 @@ import (
// GuildsDir
// The directory to use for reading and writing guild .json files. Defaults to ./guilds
var GuildsDir = "./guilds"
// todo remind me to abstract this into a database
var GuildsDir = ""
// saveLock
// A map that stores mutexes for each guild, which will be locked every time that guild's data is written