
Recherche avancée
Autres articles (56)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (6703)
-
I'd like to make my discord bot join voice chat every hour
27 juin 2021, par dsboost dsboosti'd like to make join a voice chat every hour and play an mp3 file,with discord.py


@client.command()
 async def join(ctx):
 channel = ctx.author.voice.channel
 voice = await channel.connect()
 source = FFmpegPCMAudio('sound.mp3')
 player = voice.play(source)



-
how to locate the voice chat that the discord bot is connected to
10 mars 2019, par SwaggZ ReYanI am making a discord bot that is being activated by voice recognition, im at the very beginning right now im making him join a voice channel (which is working), and im trying to make a command to make him leave.
const commando = require('discord.js-commando');
class LeaveChannelCommand extends commando.Command
{
constructor(client){!
super(client,{
name: 'leave',
group: 'music',
memberName: 'leave',
description: 'leaves a voice channel'
});
}
async run(message, args)
{
if(message.guild.voiceConnection)
{
message.guild.voiceConnection.disconnect();
}
else
{
message.channel.sendMessage("seccessfully left")
}
}
}
module.exports = LeaveChannelCommand;right now you can type !leave from anywhere in the server and the bot leaves,
i want to make it possible to control him only from the same voice channel,
what should i do -
Core : Apply ignore setting to all validationTargetFor elements
23 septembre 2014, par jzaeffererCore : Apply ignore setting to all validationTargetFor elements
Previously the filter only applied to checkables. Adds a test and moves
an existing valid() test closer to the others.Ref #156
Closes #468