Skip to content

Instantly share code, notes, and snippets.

View Volcar144's full-sized avatar

Danng Volcar144

View GitHub Profile
// popup.js
const menu = document.getElementById('menu');
const gameContainer = document.getElementById('game-container');
const backBtn = document.getElementById('back-btn');
const gameArea = document.getElementById('game-area');
let currentGameInstance = null;
const games = {
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>TopDown Shooter Multiplayer</title>
<style>
/* Reset and base */
body, html {
margin: 0; padding: 0; height: 100%; overflow: hidden;
package top.archiem.bots;
import net.dv8tion.jda.api.*;
import net.dv8tion.jda.api.entities.*;
import net.dv8tion.jda.api.entities.channel.concrete.Category;
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;
import net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel;
import net.dv8tion.jda.api.entities.channel.middleman.MessageChannel;
import net.dv8tion.jda.api.events.interaction.ModalInteractionEvent;
import net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent;