mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-08-05 23:43:30 +02:00
Type fixes, remove shortcuts
This commit is contained in:
parent
ed4e7b5ceb
commit
4169104c4d
15 changed files with 17 additions and 175 deletions
|
@ -40,7 +40,7 @@ export default class implements Command {
|
|||
}
|
||||
|
||||
// eslint-disable-next-line complexity
|
||||
public async executeFromInteraction(interaction: CommandInteraction): Promise<void> {
|
||||
public async execute(interaction: CommandInteraction): Promise<void> {
|
||||
const [targetVoiceChannel] = getMemberVoiceChannel(interaction.member as GuildMember) ?? getMostPopularVoiceChannel(interaction.guild!);
|
||||
|
||||
const settings = await prisma.setting.findUnique({where: {guildId: interaction.guild!.id}});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue