diff --git a/app/Listeners/TweetAcceptedListener.php b/app/Listeners/TweetAcceptedListener.php index 9a310b9..e648393 100644 --- a/app/Listeners/TweetAcceptedListener.php +++ b/app/Listeners/TweetAcceptedListener.php @@ -39,7 +39,7 @@ class TweetAcceptedListener implements ShouldQueue $newMissionStatus = $tweet->mission->complete($tweet->team); if($event->previousMissionStatus == false && $newMissionStatus == true) { - $text = 'Team '.$tweet->team->name.' completed mission '.$tweet->mission_id.'! '.$tweet->mission->hashtag.' #spy30'; + $text = 'Team '.$tweet->team->name.' completed mission '.$tweet->mission_id.'! '.$tweet->mission->hashtag.' '.env('GAME_HASHTAG'); Log::info("Tweeting: $text"); $params = [ @@ -63,7 +63,7 @@ class TweetAcceptedListener implements ShouldQueue ->where('m2_transit_center_id', $this_tc) ->count(); if($other_teams == 0) { - $text = 'Team '.$tweet->team->name.' is currently the only team to have visited '.$tweet->transit_center->name.'! #spy30'; + $text = 'Team '.$tweet->team->name.' is currently the only team to have visited '.$tweet->transit_center->name.'! '.env('GAME_HASHTAG'); Log::info("Tweeting: $text"); $params = [ 'attachment_url' => 'https://twitter.com/'.$tweet->player->twitter.'/status/'.$tweet->tweet_id,