elliotttate / beatsaver-laravel

Rewrite of beatsaver.com (https://github.com/beatsaver/beatsaver) using the laravel framework
https://discord.gg/8B44zqM
MIT License
39 stars 19 forks source link

Filter @ Commands from the discord website #31

Closed beatsaver closed 6 years ago

beatsaver commented 6 years ago

pretty much its an issue, but we need to filter all @ commands out of the webhook before posting

so like

@everyone @Admin

things like that

Byorun commented 6 years ago

the discord webhook has no @ in the posting text

$message->setContent("New song uploaded by **{$songData['uploader']}** : " . route('browse.detail', ['key' => $songData['key']]));

jetbalsa commented 6 years ago

Interesting, You are correct!