4
4
4sadly2020-02-05 23:34:44
git
4sadly, 2020-02-05 23:34:44

How to determine when and which user entered the channel?

We need to find out which user has entered the channel (not a group!), and if its username != to one of mine, just kick it. Is it
better to do it through the bot api or user api?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
SagePtr, 2019-05-21
@Max_ic112

When merging a branch, do it through git merge --squash, or if through gui gitlab, then there are probably several merge options, like in github (I can’t say for sure, because I don’t use gitlab for my repositories).

A
Alexander Movchan, 2019-05-21
@Alexander1705

git merge --no-ff

E
Egor Zhivagin, 2019-05-21
@Krasnodar_etc

IMHO, the most correct approach with Gitlab:
- Take a branch examplefrom dev
- Commit everyone there
- git push origin example
- On Gitlab, in the Merge Requests tab, create a merge request :) Then merge it. Preferably with the squash option
. This way you will be able to keep track of all MPs and what changes have been in them in the interface. This is more convenient than climbing on commits)

D
d4c4237abc, 2020-02-13
@d4c4237abc

Create a bot, add a bot to a channel, or a private channel. And write a condition for checking users in the channel. Let's say that it checks with a list in a file or a database, or under the condition that they are in another channel, etc. You can come up with a lot of things, at least let people whose nickname starts with S

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question