use Discord\Parts\Channel\Message;
use Discord\Parts\Guild\Guild;
use Discord\Parts\Guild\Role;
+use Discord\Parts\User\Activity;
use Discord\WebSockets\Event;
use Illuminate\Console\Command;
use Monolog\Handler\StreamHandler;
'logger' => $logger,
'token' => config('discord.token'),
]);
+ $discord->on('ready', function (Discord $discord) {
+ $activity = new Activity($discord);
+ $activity->type = Activity::TYPE_LISTENING;
+ $activity->name = 'HolySmoke';
+ $activity->url = 'https://alttp.localhorst.tv/';
+ $discord->updatePresence($activity);
+ });
$discord->on(Event::GUILD_CREATE, function (Guild $guild, Discord $discord) {
try {
DiscordGuild::onUpstreamCreate($guild);