Add Discord Widget to Flarum
Flarum Discord Widget Extension
Discord Widget for Flarum ( before 9.0 ). Flarum 9.0 not supported
Run follow command via SSH while you're in Flarum root folder:
composer require hugogit/flarum-ext-discordwidget
Enable extension in flarum admin panel and paste your discord server id in discord widget admin panel.