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
module.exports = { | |
request(message, copyId) { | |
this.op = message.author; | |
this.channel = message.channel; | |
this.copyID = copyId; | |
// Delete the trigger message from the channel | |
message.delete().then(this.getMessage()).catch(console.error); | |
}, | |
// Get the requested message | |
getMessage() { |
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
<?php | |
namespace App\Http\Controllers; | |
use Stripe\Stripe; | |
use Stripe\Event; | |
use Illuminate\Http\Request; | |
class WebhooksController extends Controller | |
{ |