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 = { discord = {
server = mkOption rec { server = mkOption rec {
type = types.int; type = types.str;
description = "ID of the server the bot runs on"; description = "ID of the server the bot runs on";
}; };
role = { role = {
past = mkOption rec { past = mkOption rec {
type = types.int; type = types.str;
description = "ID of the role to apply to all members"; description = "ID of the role to apply to all members";
}; };
current = mkOption rec { current = mkOption rec {
type = types.int; type = types.str;
description = "ID of the role to applt to only current members"; description = "ID of the role to applt to only current members";
}; };
}; };
timing = { timing = {
update = mkOption rec { update = mkOption rec {
type = types.int; type = types.str;
default = 600; default = "600";
description = "Time in seconds to update member roles"; description = "Time in seconds to update member roles";
}; };
fetch = mkOption rec { fetch = mkOption rec {
type = types.int; type = types.str;
default = 300; default = "300";
description = "Time in seconds to get current users"; description = "Time in seconds to get current users";
}; };
}; };