feat: use internal sharding (#157)
All checks were successful
Publish latest version / build (push) Successful in 1m35s
All checks were successful
Publish latest version / build (push) Successful in 1m35s
ref: #148 better than #154 since botanique is a small bot Reviewed-on: #157 Co-authored-by: Mylloon <kennel.anri@tutanota.com> Co-committed-by: Mylloon <kennel.anri@tutanota.com>
This commit is contained in:
parent
8071bc8226
commit
110142c2e7
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ import { YoutubeiExtractor } from "discord-player-youtubei";
|
||||||
/** Creation of the client and definition of its properties */
|
/** Creation of the client and definition of its properties */
|
||||||
export default async () => {
|
export default async () => {
|
||||||
const client: Client = new Client({
|
const client: Client = new Client({
|
||||||
|
shards: "auto",
|
||||||
intents: [
|
intents: [
|
||||||
GatewayIntentBits.Guilds,
|
GatewayIntentBits.Guilds,
|
||||||
GatewayIntentBits.GuildMessages,
|
GatewayIntentBits.GuildMessages,
|
||||||
|
|
Loading…
Reference in a new issue