Purge planning since it getting new data is kinda broken with api changes.
This commit is contained in:
parent
ed9330667b
commit
76cb4f18da
|
@ -3,7 +3,7 @@ use poise::serenity_prelude as serenity;
|
|||
|
||||
pub mod invites;
|
||||
pub mod links;
|
||||
pub mod planning;
|
||||
// pub mod planning;
|
||||
pub mod schedule;
|
||||
pub mod utils;
|
||||
|
||||
|
@ -68,21 +68,21 @@ pub async fn boop(ctx: Context<'_>) -> Result<(), Error> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
#[poise::command(track_edits, slash_command)]
|
||||
pub async fn fix(ctx: Context<'_>) -> Result<(), Error> {
|
||||
let uuid_fix = ctx.id();
|
||||
|
||||
ctx.send(|m| {
|
||||
m.content("You want to fix things? Just press the magic fix button.").components(|c| {
|
||||
c.create_action_row(|ar| {
|
||||
ar.create_button(|b| {
|
||||
b.style(serenity::ButtonStyle::Success)
|
||||
.label("Fix")
|
||||
.custom_id(uuid_fix)
|
||||
m.content("You want to fix things? Just press the magic fix button.")
|
||||
.components(|c| {
|
||||
c.create_action_row(|ar| {
|
||||
ar.create_button(|b| {
|
||||
b.style(serenity::ButtonStyle::Success)
|
||||
.label("Fix")
|
||||
.custom_id(uuid_fix)
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
.await?;
|
||||
|
||||
|
@ -110,9 +110,8 @@ pub async fn fix(ctx: Context<'_>) -> Result<(), Error> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
pub fn get_links(
|
||||
) -> poise::Command<super::Data, Box<(dyn std::error::Error + Sync + std::marker::Send + 'static)>>
|
||||
) -> poise::Command<super::Data, Box<(dyn std::error::Error + std::marker::Send + Sync + 'static)>>
|
||||
{
|
||||
// poise::Command {
|
||||
// subcommands: vec![
|
||||
|
|
Loading…
Reference in a new issue