Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app-modules/bot-discord/phpstan.ignore.neon
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ parameters:
message: '#^Parameter \#1 \$roles of method Discord\\Parts\\Guild\\Member\\Member::setRoles\(\) expects#'
identifier: argument.type
count: 1
path: src/SlashCommands/CargoDelasCommand.php
path: src/Disabled/SlashCommands/CargoDelasCommand.php
-
message: '#^Parameter \#1 \$roles of method Discord\\Parts\\Guild\\Member\\Member::setRoles\(\) expects#'
identifier: argument.type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace He4rt\BotDiscord\Events;
namespace He4rt\BotDiscord\Disabled\Events;

use Discord\Discord;
use Discord\Parts\Channel\Message;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace He4rt\BotDiscord\Events;
namespace He4rt\BotDiscord\Disabled\Events;

use Discord\Parts\Channel\Message;
use Discord\WebSockets\Event as Events;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace He4rt\BotDiscord\Events;
namespace He4rt\BotDiscord\Disabled\Events;

use Discord\Discord;
use Discord\Parts\Guild\Member\Member;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

declare(strict_types=1);

namespace He4rt\BotDiscord\SlashCommands;
namespace He4rt\BotDiscord\Disabled\SlashCommands;

use Discord\Parts\Guild\Member\Member;
use Discord\Parts\Guild\Role\Role;
use Discord\Parts\Interactions\Command\Option;
use Discord\Parts\Interactions\Interaction;
use He4rt\BotDiscord\SlashCommands\AbstractSlashCommand;

class CargoDelasCommand extends AbstractSlashCommand
{
Expand Down
2 changes: 1 addition & 1 deletion config/discord.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

return [
'token' => env('DISCORD_TOKEN'),
'intents' => Intents::getDefaultIntents() | Intents::GUILD_MEMBERS | Intents::MESSAGE_CONTENT,
'intents' => Intents::getDefaultIntents(),
Comment thread
gvieira18 marked this conversation as resolved.
Resolved
'options' => [
'useTransportCompression' => false, // Disable zlib-stream
'usePayloadCompression' => true,
Expand Down
Loading