fix: these values need to be strings

This commit is contained in:
silver 2023-08-27 23:30:35 +01:00
parent 56a032beb8
commit e6f3b5f158

View file

@ -70,28 +70,28 @@
discord = {
server = mkOption rec {
type = types.int;
type = types.str;
description = "ID of the server the bot runs on";
};
role = {
past = mkOption rec {
type = types.int;
type = types.str;
description = "ID of the role to apply to all members";
};
current = mkOption rec {
type = types.int;
type = types.str;
description = "ID of the role to applt to only current members";
};
};
timing = {
update = mkOption rec {
type = types.int;
default = 600;
type = types.str;
default = "600";
description = "Time in seconds to update member roles";
};
fetch = mkOption rec {
type = types.int;
default = 300;
type = types.str;
default = "300";
description = "Time in seconds to get current users";
};
};