Fix inviting bots to servers.

This commit is contained in:
Paul 2021-08-12 22:27:14 +01:00
parent 4d9c324326
commit 40d0421fa2

View file

@ -47,7 +47,7 @@ export default function InviteBot() {
<Button <Button
contrast contrast
onClick={() => onClick={() =>
group !== "none" && server !== "none" &&
client.bots.invite(data._id, { server }) client.bots.invite(data._id, { server })
}> }>
add add