mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 23:42:11 -05:00
Fix inviting bots to servers.
This commit is contained in:
parent
4d9c324326
commit
40d0421fa2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue