mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
!timezone: add fuzzy matching for timezone name; add reset
This commit is contained in:
parent
4ae8cf85a3
commit
753ceda5ec
6 changed files with 90 additions and 7 deletions
|
@ -45,4 +45,11 @@ export class GuildMemberTimezones extends BaseGuildRepository {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
reset(memberId: string) {
|
||||
return this.memberTimezones.delete({
|
||||
guild_id: this.guildId,
|
||||
member_id: memberId,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue