https://open.mp logo
Docs
Join the conversationJoin Discord
Channels
general
general-show-off
opemp-dev
open-mp-server-beta
openmp-samp-help
pawn-help
sa-show-off
samp-and-sa
samp-android
support-forum
Powered by Linen
general
  • b

    breezy-solstice-69394

    12/15/2022, 8:20 PM
    i made one automatic chicken (cocked) & leather farm
  • b

    busy-arm-75131

    12/15/2022, 8:37 PM
  • b

    busy-arm-75131

    12/15/2022, 8:38 PM
    Zig it bro
  • b

    busy-arm-75131

    12/15/2022, 8:38 PM
  • b

    busy-arm-75131

    12/15/2022, 8:38 PM
    Says who
  • b

    busy-arm-75131

    12/15/2022, 8:39 PM
    https://github.com/discord-php/DiscordPHP https://github.com/maddinat0r/samp-discord-connector/
  • m

    millions-knife-57333

    12/15/2022, 8:39 PM
  • g

    gentle-london-6993

    12/15/2022, 8:40 PM
    Yes, but using libraries
  • g

    gentle-london-6993

    12/15/2022, 8:40 PM
    Besides, it's much simpler to create in JS or Py
  • b

    busy-arm-75131

    12/15/2022, 8:40 PM
    fr?
  • b

    busy-arm-75131

    12/15/2022, 8:41 PM
    I'd say it's easier to write in pawn since you only need to just add token to your server config and boom
  • b

    busy-arm-75131

    12/15/2022, 8:41 PM
    The bot went up
  • b

    busy-arm-75131

    12/15/2022, 8:41 PM
  • b

    busy-arm-75131

    12/15/2022, 8:42 PM
    With discord.js 🤮 and discord.py, you need to set everything up manually like intent, token, events, etc.
  • g

    gentle-london-6993

    12/15/2022, 8:42 PM
    Answer me one thing, using Discord-connector is it possible to kick a member of a server? I don't know, but i think no
  • b

    busy-arm-75131

    12/15/2022, 8:42 PM
    Dunno
  • b

    busy-arm-75131

    12/15/2022, 8:42 PM
    Since I don't write bot discord
  • b

    busy-arm-75131

    12/15/2022, 8:42 PM
    For almost a year now
  • b

    breezy-solstice-69394

    12/15/2022, 8:42 PM
    https://www.instagram.com/reel/ClufFX5JyFd/?igshid=NDk5N2NlZjQ%3D reminds me hual
  • g

    gentle-london-6993

    12/15/2022, 8:43 PM
    With Discord.js would be like this:
    const { MessageEmbed } = require('discord.js');
    
    module.exports = {
        name: 'kick',
        category: 'moderation',
        run: async (client, message, args) => {
            if (!message.member.hasPermission('KICK_MEMBERS')) {
                return message.channel.send('You are unable to kick members');
            }
            if (!args[0]) {
                return message.channel.send('Please mention a user!');
            }
            const member = message.mentions.members.first() || message.guild.members.cache.get(args[0]);
    
            try {
                await member.kick();
                return message.channel.send(`${member} has been kicked!`);
            } catch (e) {
                return message.channel.send('User isn\'t in this server!');
            }
        },
    };
  • b

    busy-arm-75131

    12/15/2022, 8:43 PM
    Oh nvm it's one year now
  • b

    busy-arm-75131

    12/15/2022, 8:43 PM
    Yaay
  • b

    busy-arm-75131

    12/15/2022, 8:43 PM
    Discord nowdays requires you to set intent manually
  • g

    gentle-london-6993

    12/15/2022, 8:44 PM
    I know
  • b

    busy-arm-75131

    12/15/2022, 8:44 PM
    Okay
  • b

    busy-arm-75131

    12/15/2022, 8:44 PM
    I wasn't meant to telling you
  • b

    busy-arm-75131

    12/15/2022, 8:44 PM
    I just remember something
  • b

    busy-arm-75131

    12/15/2022, 8:44 PM
    About the intent
  • g

    gentle-london-6993

    12/15/2022, 8:44 PM
    I get it
  • b

    busy-arm-75131

    12/15/2022, 8:44 PM
    With discord.js 🤮, nope
Powered by Linen
Title
b

busy-arm-75131

12/15/2022, 8:44 PM
With discord.js 🤮, nope
View count: 1