Deps: Update Twilight -> v0.14
This commit is contained in:
@@ -67,8 +67,7 @@ async fn main() {
|
||||
// Configure the client with your Discord bot token in the environment.
|
||||
let token = env::var("DISCORD_TOKEN").expect("Expected a token in the environment");
|
||||
|
||||
let framework = StandardFramework::new()
|
||||
.group(&GENERAL_GROUP);
|
||||
let framework = StandardFramework::new().group(&GENERAL_GROUP);
|
||||
framework.configure(|c| c.prefix("~"));
|
||||
|
||||
let intents = GatewayIntents::non_privileged() | GatewayIntents::MESSAGE_CONTENT;
|
||||
|
||||
@@ -94,8 +94,7 @@ async fn main() {
|
||||
// Configure the client with your Discord bot token in the environment.
|
||||
let token = env::var("DISCORD_TOKEN").expect("Expected a token in the environment");
|
||||
|
||||
let framework = StandardFramework::new()
|
||||
.group(&GENERAL_GROUP);
|
||||
let framework = StandardFramework::new().group(&GENERAL_GROUP);
|
||||
framework.configure(|c| c.prefix("~"));
|
||||
|
||||
let intents = GatewayIntents::non_privileged() | GatewayIntents::MESSAGE_CONTENT;
|
||||
|
||||
@@ -74,8 +74,7 @@ async fn main() {
|
||||
// Configure the client with your Discord bot token in the environment.
|
||||
let token = env::var("DISCORD_TOKEN").expect("Expected a token in the environment");
|
||||
|
||||
let framework = StandardFramework::new()
|
||||
.group(&GENERAL_GROUP);
|
||||
let framework = StandardFramework::new().group(&GENERAL_GROUP);
|
||||
framework.configure(|c| c.prefix("~"));
|
||||
|
||||
let intents = GatewayIntents::non_privileged() | GatewayIntents::MESSAGE_CONTENT;
|
||||
|
||||
@@ -144,8 +144,7 @@ async fn main() {
|
||||
// Configure the client with your Discord bot token in the environment.
|
||||
let token = env::var("DISCORD_TOKEN").expect("Expected a token in the environment");
|
||||
|
||||
let framework = StandardFramework::new()
|
||||
.group(&GENERAL_GROUP);
|
||||
let framework = StandardFramework::new().group(&GENERAL_GROUP);
|
||||
framework.configure(|c| c.prefix("~"));
|
||||
|
||||
let intents = GatewayIntents::non_privileged() | GatewayIntents::MESSAGE_CONTENT;
|
||||
|
||||
Reference in New Issue
Block a user