Simple SCript Not Displayed in WIdth

You maybe need to enqueue the js file after jQuery or any other library. It also depends on how you want to implement this (with your theme or plugin), but it’s another question.

You need to read more about wp_enqueue_scripts action to register and enqueue in the right way and see into Discord manual to see exactly which library and dependancies you have to respect to make it work.

function wpse_250336() {   
    wp_enqueue_script('jquery');      
    wp_enqueue_script( 'discord', trailingslashit( get_template_directory_uri() ) . 'js/discord.min.js', array('jquery') );

}

add_action( 'wp_enqueue_scripts', 'wpse_250336' );

Hope it helps a little !