Allow birthdate command in DMs

This commit is contained in:
Jonny_Bro (Nikita) 2023-08-03 13:02:48 +05:00 committed by GitHub
parent cdc3f3fd3c
commit 11284a1996
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ class Birthdate extends BaseCommand {
uk: client.translate("economy/birthdate:DESCRIPTION", null, "uk-UA"), uk: client.translate("economy/birthdate:DESCRIPTION", null, "uk-UA"),
ru: client.translate("economy/birthdate:DESCRIPTION", null, "ru-RU"), ru: client.translate("economy/birthdate:DESCRIPTION", null, "ru-RU"),
}) })
.setDMPermission(false) .setDMPermission(true)
.addIntegerOption(option => .addIntegerOption(option =>
option option
.setName("day") .setName("day")