mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 20:19:26 +01:00
@@ -1,3 +1,6 @@
|
||||
export async function UpdateGitHubReadMe(): Promise<void> {
|
||||
import axios, {AxiosResponse} from "axios";
|
||||
import Env from "@ioc:Adonis/Core/Env";
|
||||
|
||||
export async function getDiscordActivity(): Promise<AxiosResponse> {
|
||||
return await axios.get(`https://api.lanyard.rest/v1/users/${Env.get('DISCORD_ID')}`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user