fix: these values need to be strings
This commit is contained in:
parent
56a032beb8
commit
e6f3b5f158
1 changed files with 7 additions and 7 deletions
14
flake.nix
14
flake.nix
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue