import type { GuildMessage } from '../../Constants' ; import type { HelpObj } from '../../structures/commandhandler' ; import type { PermissionString } from 'discord.js' ; import type ReknownClient from '../../structures/client' ; export async function run ( client , message , args ) { const music = client . music [ message . guild . id ] ; if ( ! music || ! music . player || ! music . player . playing && ! music . player . paused ) return message . reply ( 'I am not playing anything!.' ) ; if ( ! music . player . paused ) return message . reply ( 'The music is not paused.' ) ; if ( message . guild . voice ! . channelID !== message . member . voice . channelID ) return message . reply ( 'You must be in the same voice channel as me to run that command.' ) ; music . player . pause ( false ) ; message . channel . send ( 'Successfully resumed the music.' ) ; } export const help = { aliases : [ 'resumemusic' ] , category : 'Music' , desc : 'Resumes the music.' , togglable : true , usage : 'resume' } ; export const memberPerms = [ ] ; export const permissions = [ ] ;