Skip to content

Instantly share code, notes, and snippets.

View HELLSNAKES's full-sized avatar
👋
Hi

HELLSNAKE HELLSNAKES

👋
Hi
View GitHub Profile
Title description
Bot ToS and Privacy Policy
The Terms of Service and Privacy Policy of the Discord Bot.
@HELLSNAKES
HELLSNAKES / presence.js
Last active August 29, 2023 17:33
mobile-presence
const Discord = require("discord.js")
const client = new Discord.Client({ ws: { properties: { $browser: "Discord iOS" }} })
client.on("ready", () => {
client.user.setActivity(`hentaiz`, { type: 3, browser: "DISCORD IOS" })
console.log("Ready")
})
client.login('token')
@HELLSNAKES
HELLSNAKES / api.js
Last active October 20, 2021 11:40
Simple api use express
const express = require("express");
const app = express();
const port = process.env.PORT || 5000
app.get('/', (req,res) => {
res.send('Hello world')
})
app.get('/image', (req,res) => {
const result = {};
result.code = 200;