-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #271 from czqoocavatsim/JoshuaMicallefYBSU-patch-2
Discord Thread Creation & Application Notification
- Loading branch information
Showing
8 changed files
with
908 additions
and
856 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,4 @@ app/Http/Controllers/vendor/skymeyer/vatsimphp/app/logs/pilots.log | |
.idea/ | ||
.DS_Store | ||
training.yaml | ||
composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace App\Http\Controllers; | ||
|
||
use Illuminate\Http\Request; | ||
use App\Services\DiscordClient; | ||
|
||
class DiscordTestController extends Controller | ||
{ | ||
public function ThreadTest() | ||
{ | ||
//New Applicant in Instructor Channel | ||
$discord = new DiscordClient(); | ||
$discord->createTrainingThread('1273181022699130902', 'Joshua Micallef 1342084', '<@200426385863344129>'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.