Compare commits
2 Commits
25f4ed332a
...
994babaacf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
994babaacf | ||
|
|
06f116976d |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,4 +1,5 @@
|
|||||||
/target
|
/target
|
||||||
/.direnv/
|
/.direnv/
|
||||||
/db.sqlite
|
/*.sqlite
|
||||||
/token
|
/token
|
||||||
|
/token-*
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ async fn spread(
|
|||||||
.guild_id()
|
.guild_id()
|
||||||
.ok_or_eyre("This bot only works in servers")?;
|
.ok_or_eyre("This bot only works in servers")?;
|
||||||
|
|
||||||
ctx.defer().await?;
|
ctx.defer_ephemeral().await?;
|
||||||
|
|
||||||
let from = from
|
let from = from
|
||||||
.to_channel(ctx)
|
.to_channel(ctx)
|
||||||
@@ -134,7 +134,7 @@ async fn collect(
|
|||||||
.guild_id()
|
.guild_id()
|
||||||
.ok_or_eyre("This bot only works in servers")?;
|
.ok_or_eyre("This bot only works in servers")?;
|
||||||
|
|
||||||
ctx.defer().await?;
|
ctx.defer_ephemeral().await?;
|
||||||
|
|
||||||
let users = channel_children(&ctx, from)
|
let users = channel_children(&ctx, from)
|
||||||
.await?
|
.await?
|
||||||
|
|||||||
Reference in New Issue
Block a user