forked from Skynet/discord-bot
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 = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue